From: Sebastián Ramírez Date: Tue, 13 Aug 2024 05:22:51 +0000 (-0500) Subject: 👷 Add GitHub Action label-checker (#1069) X-Git-Tag: 0.0.22~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2f66714e325157adcb0b906ac74a4873625d0295;p=thirdparty%2Ffastapi%2Fsqlmodel.git 👷 Add GitHub Action label-checker (#1069) --- diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 9cbdfda2..7cb88936 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,6 +1,13 @@ -name: Pull Request Labeler +name: Pull Request Labeler and Checker on: pull_request_target: + types: + - opened + - synchronize + - reopened + # For label-checker + - labeled + - unlabeled jobs: labeler: @@ -10,3 +17,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/labeler@v5 + # Run this after labeler applied labels + check-labels: + name: Check labels + runs-on: ubuntu-latest + steps: + - uses: docker://agilepathway/pull-request-label-checker:latest + with: + one_of: breaking,security,feature,bug,refactor,upgrade,docs,lang-all,internal + repo_token: ${{ secrets.GITHUB_TOKEN }}