1 parent 09c6b3c commit 7da6d7aCopy full SHA for 7da6d7a
1 file changed
.github/workflows/auto-fix-ci.yml
@@ -17,11 +17,13 @@ jobs:
17
auto-fix:
18
# Only run when:
19
# 1. The Validate workflow failed
20
- # 2. There is an associated PR
+ # 2. There is an associated PR (not main/master branch)
21
# 3. The branch was created by Claude (starts with 'claude/')
22
if: |
23
github.event.workflow_run.conclusion == 'failure' &&
24
github.event.workflow_run.pull_requests[0] &&
25
+ github.event.workflow_run.head_branch != 'main' &&
26
+ github.event.workflow_run.head_branch != 'master' &&
27
startsWith(github.event.workflow_run.head_branch, 'claude/')
28
runs-on: ubuntu-latest
29
steps:
0 commit comments