@@ -3,18 +3,12 @@ name: Auto-fix Dependencies
33on :
44 workflow_run :
55 workflows :
6- - " Shell Lint (shellcheck)"
7- - " TypeScript CI"
8- - " Secret Detection (gitleaks)"
9- - " Lint GitHub Actions"
10- - " Shell Compatibility Test"
11- - " Validate Codex Config"
12- - " Validate JSON Templates"
6+ - " CI Status Check"
137 types :
148 - completed
159
1610concurrency :
17- group : auto-fix-${{ github.event.workflow_run.head_branch }}
11+ group : auto-fix-${{ github.event.workflow_run.head_sha }}
1812 cancel-in-progress : true
1913
2014jobs :
3529 steps :
3630 - name : Get PR information
3731 id : pr-info
38- uses : actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
32+ uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
3933 with :
4034 script : |
4135 // Get PR from the workflow_run event
5650
5751 // Check if PR is from a dependency bot
5852 const author = prData.user.login;
59- const isBot = author === 'renovate[bot]' || author === 'dependabot[bot]';
53+ const isBot =
54+ author === 'renovate[bot]' ||
55+ author === 'dependabot[bot]' ||
56+ author === 'app/renovate';
6057
6158 if (!isBot) {
6259 core.info(`Skipping: PR author is ${author}, not a dependency bot`);
@@ -82,12 +79,12 @@ jobs:
8279 - name : Auto-fix dependencies
8380 if : steps.pr-info.outputs.skip != 'true'
8481 id : auto-fix
85- uses : anthropics/claude-code-action@ea36d6abdedc17fc2a671b36060770b208a6f8f1 # v1.0.51
82+ uses : anthropics/claude-code-action@26ec041249acb0a944c0a47b6c0c13f05dbc5b44 # v1.0.70
8683 with :
8784 claude_code_oauth_token : ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
8885 use_bedrock : false
8986 use_vertex : false
90- allowed_bots : " renovate[bot],dependabot[bot]"
87+ allowed_bots : " renovate[bot],dependabot[bot],app/renovate "
9188 prompt : |
9289 **CI Failed - Fix Required**
9390
@@ -106,7 +103,7 @@ jobs:
106103 **Important:**
107104 - Focus only on fixing the CI failures
108105 - After pushing fixes, verify all checks pass with `gh pr checks`
109- - Do not manually merge - this repository uses auto-merge for dependency PRs
106+ - Do not manually merge - this repository uses auto-merge for eligible dependency PRs
110107 - If the issue cannot be fixed automatically, leave a detailed comment explaining the problem
111108
112109 **Tool constraints (MUST follow):**
0 commit comments