Skip to content

Commit

Permalink
Merge pull request #3257 from johannaengland/workflows/skip-towncrier…
Browse files Browse the repository at this point in the history
…-nonews-label

Skip towncrier check on 'nonews' label
  • Loading branch information
lunkwill42 authored Dec 19, 2024
2 parents c22a905 + adc10f2 commit 35b0f71
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 35b0f71

Please sign in to comment.