Commit 24b0df526a
Unregistered key
Layout: unified · split
.github/workflows/pr-labeler.yml +1 −3
| @@ -3,15 +3,13 @@ name: 🏷️ PR Labeler | ||
| 3 | 3 | on: |
| 4 | 4 | pull_request: |
| 5 | 5 | types: [opened, edited] |
| 6 | env: | |
| 7 | IGNORE_STR: 'Addition / Amendment / Removal / Spelling or Grammar / Website Update / Other' | |
| 8 | 6 | jobs: |
| 9 | 7 | label-pr: |
| 10 | 8 | runs-on: ubuntu-latest |
| 11 | 9 | permissions: write-all |
| 12 | 10 | steps: |
| 13 | 11 | - name: Apply Labels |
| 14 | if: "${{ !github.event.pull_request.body.includes(env.IGNORE_STR) }}" | |
| 12 | if: ! contains(github.event.pull_request.body, 'Addition / Amendment / Removal / Spelling or Grammar / Website Update / Other') | |
| 15 | 13 | uses: Naturalclar/issue-action@v2.0.2 |
| 16 | 14 | with: |
| 17 | 15 | title-or-body: both |