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 Jan 2, 2025
1 parent 8ba9439 commit 072242a
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 072242a

Please sign in to comment.