From dcd7fc608baba4cda199dbd50f1be8180589f0c3 Mon Sep 17 00:00:00 2001 From: Tabish Bidiwale Date: Tue, 13 Jan 2026 23:08:05 -0800 Subject: [PATCH] fix: add auto-approval for file writes in polish-release-notes workflow 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. --- .github/workflows/polish-release-notes.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/polish-release-notes.yml b/.github/workflows/polish-release-notes.yml index fbd5e2ae..8f988ee3 100644 --- a/.github/workflows/polish-release-notes.yml +++ b/.github/workflows/polish-release-notes.yml @@ -36,6 +36,7 @@ jobs: with: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }} + claude_args: "--allowedTools Write,Read" prompt: | Transform the changelog in `current-notes.md` into release notes for OpenSpec ${{ inputs.tag_name }}.