Skip to content
16 changes: 13 additions & 3 deletions .github/workflows/ci-fixer.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions .github/workflows/ci-fixer.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ permissions:
pull-requests: read
actions: read

checkout:
fetch: ["*"]
fetch-depth: 0

engine:
id: copilot
model: claude-opus-4.6
Expand All @@ -30,6 +34,8 @@ safe-outputs:
noop:
report-as-issue: false
push-to-pull-request-branch:
target: "*"
labels: [aw]
github-token: ${{ secrets.GH_AW_WRITE_TOKEN }}
Comment thread
microsasa marked this conversation as resolved.
add-labels:
github-token: ${{ secrets.GH_AW_WRITE_TOKEN }}
Expand All @@ -44,9 +50,9 @@ Fix CI failures on pull request #${{ github.event.inputs.pr_number }}.

## Instructions

1. First, check if PR #${{ github.event.inputs.pr_number }} has the label `ci-fix-attempted`. If it does, add a comment saying "CI fix already attempted once — stopping to prevent loops. Manual intervention needed." and stop. Do NOT attempt another fix.
1. First, check if PR #${{ github.event.inputs.pr_number }} has the label `aw-ci-fix-attempted`. If it does, add a comment saying "CI fix already attempted once — stopping to prevent loops. Manual intervention needed." and stop. Do NOT attempt another fix.

2. Add the label `ci-fix-attempted` to the PR.
2. Add the label `aw-ci-fix-attempted` to the PR.

3. Read the PR to find the head branch and understand what the PR changes.

Expand Down
Loading
Loading