Skip to content

Commit bf4bc24

Browse files
authored
fix: add auto-approval for file writes in polish-release-notes workflow (Fission-AI#505)
The workflow was failing because Claude Code requested permission to write files (release-title.txt and polished-notes.md) but there was no interactive user to approve. Added claude_args: "--allowedTools Write,Read" to pre-approve file operations in automation mode.
1 parent c57e421 commit bf4bc24

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/polish-release-notes.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
with:
3737
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
3838
github_token: ${{ secrets.GITHUB_TOKEN }}
39+
claude_args: "--allowedTools Write,Read"
3940
prompt: |
4041
Transform the changelog in `current-notes.md` into release notes for OpenSpec ${{ inputs.tag_name }}.
4142

0 commit comments

Comments
 (0)