1
0
Fork 0

Updates conditional

This commit is contained in:
Alicia Sykes 2022-07-30 15:57:24 +01:00 committed by GitHub
parent a19fc23b95
commit 24b0df526a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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