Skip to content

Commit

Permalink
Skip towncrier check on 'nonews' label
Browse files Browse the repository at this point in the history
  • Loading branch information
johannaengland committed Dec 16, 2024
1 parent 09f24e0 commit adc10f2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/towncrier.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
name: Check for changelog file

on: [pull_request]
on:
pull_request:
# labeled/unlabeled = label is added/removed
# synchronize = PR's head branch was updated
types: [labeled, unlabeled, opened, reopened, synchronize]

jobs:
towncrier:
if: ${{ github.actor != 'dependabot[bot]' }}
if: ${{ github.actor != 'dependabot[bot]' && !contains(github.event.pull_request.labels.*.name, 'nonews') }}
runs-on: ubuntu-latest
name: Towncrier check
steps:
Expand Down

0 comments on commit adc10f2

Please sign in to comment.