Skip to content

Commit

Permalink
MNT: Ignore pre-commit PRs for newsfragments
Browse files Browse the repository at this point in the history
  • Loading branch information
ndevenish committed Aug 27, 2024
1 parent 7c5e741 commit 6cc5610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/newsfragments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
rename-news:
name: Newsfragment
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
if: (github.event.pull_request.draft == false) && (! startswith(github.event.pull_request.title, '[pre-commit.ci]'))
steps:
- name: Check out the repository
uses: actions/checkout@v2
Expand Down

0 comments on commit 6cc5610

Please sign in to comment.