From 24b0df526ac98dcb29aae64e5f07d1206f4e5751 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 30 Jul 2022 15:57:24 +0100 Subject: [PATCH] Updates conditional --- .github/workflows/pr-labeler.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml index f782da7..a0e6329 100644 --- a/.github/workflows/pr-labeler.yml +++ b/.github/workflows/pr-labeler.yml @@ -3,15 +3,13 @@ name: 🏷️ PR Labeler on: pull_request: types: [opened, edited] -env: - IGNORE_STR: 'Addition / Amendment / Removal / Spelling or Grammar / Website Update / Other' jobs: label-pr: runs-on: ubuntu-latest permissions: write-all steps: - 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 with: title-or-body: both