Skip to content

Commit a1d54c4

Browse files
chore: don't run autofix on draft PRs (#4722)
1 parent da6070c commit a1d54c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/autofix.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
autofix:
1717
name: autofix
1818
runs-on: ubuntu-latest
19+
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
1920
steps:
2021
- name: Checkout
2122
uses: actions/[email protected]

0 commit comments

Comments
 (0)