Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ permissions:

jobs:
autofix:
# Skip pushes of this workflow's own commit; matches the `commit-message` below. A manual
# `workflow_dispatch` carries no `head_commit`, so it always runs β€” the way to force a rerun.
if: ${{ !contains(github.event.head_commit.message, 'apply automated fixes') }}
# Skip pushes of this workflow's own commit; matches the `commit-message` below. Only the
# subject is checked: a squash merge lists the branch's commits in the body, so `contains`
# would also skip any pull request autofix had touched. A manual `workflow_dispatch` carries
# no `head_commit`, so it always runs β€” the way to force a rerun.
if: "${{ !startsWith(github.event.head_commit.message, 'ci: apply automated fixes') }}"
name: autofix
runs-on: ubuntu-latest
steps:
Expand Down
Loading