Skip to content

Commit

Permalink
Skip changelog check on pre-commit autoupdate PRs (globus#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
sirosen authored Mar 4, 2022
1 parent f32acac commit 34076e7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ on:

jobs:
check_has_news_in_changelog_dir:
if: ${{ ! contains(github.event.pull_request.labels.*.name, 'no-news-is-good-news') }}
if: |
! (
contains(github.event.pull_request.labels.*.name, 'no-news-is-good-news') ||
github.event.pull_request.title == '[pre-commit.ci] pre-commit autoupdate'
)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 34076e7

Please sign in to comment.