Просмотр исходного кода

fix(ci): let issue bot run for non-collaborator issue authors

The handle-issue job uses claude-code-action, which by default refuses
to run unless the triggering user has write access. Public issue authors
never do, so the job failed on essentially every real issue. Set
allowed_non_write_users: "*" on the triage job (mention job left gated).
MHSanaei 15 часов назад
Родитель
Сommit
c6855d4752
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      .github/workflows/claude-issue-bot.yml

+ 1 - 0
.github/workflows/claude-issue-bot.yml

@@ -21,6 +21,7 @@ jobs:
         with:
         with:
           github_token: ${{ secrets.GITHUB_TOKEN }}
           github_token: ${{ secrets.GITHUB_TOKEN }}
           claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
           claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
+          allowed_non_write_users: "*"
           claude_args: |
           claude_args: |
             --max-turns 25
             --max-turns 25
             --allowedTools "Bash(gh:*),Read,Glob,Grep"
             --allowedTools "Bash(gh:*),Read,Glob,Grep"