Updates conditional
This commit is contained in:
parent
a19fc23b95
commit
24b0df526a
1 changed files with 1 additions and 3 deletions
4
.github/workflows/pr-labeler.yml
vendored
4
.github/workflows/pr-labeler.yml
vendored
|
@ -3,15 +3,13 @@ name: 🏷️ PR Labeler
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, edited]
|
types: [opened, edited]
|
||||||
env:
|
|
||||||
IGNORE_STR: 'Addition / Amendment / Removal / Spelling or Grammar / Website Update / Other'
|
|
||||||
jobs:
|
jobs:
|
||||||
label-pr:
|
label-pr:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
steps:
|
steps:
|
||||||
- name: Apply Labels
|
- name: Apply Labels
|
||||||
if: "${{ !github.event.pull_request.body.includes(env.IGNORE_STR) }}"
|
if: ! contains(github.event.pull_request.body, 'Addition / Amendment / Removal / Spelling or Grammar / Website Update / Other')
|
||||||
uses: Naturalclar/issue-action@v2.0.2
|
uses: Naturalclar/issue-action@v2.0.2
|
||||||
with:
|
with:
|
||||||
title-or-body: both
|
title-or-body: both
|
||||||
|
|
Loading…
Reference in a new issue