From 765fadc6a6fd252419391be537e01b5f94d1a393 Mon Sep 17 00:00:00 2001 From: Ashwin Bhat Date: Fri, 5 Sep 2025 11:58:05 -0700 Subject: [PATCH] fix: remove OIDC id-token permission and add github_token input (#545) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removes the OIDC id-token permission requirement and adds explicit github_token input to both workflow files. This simplifies authentication by using the standard GITHUB_TOKEN instead of requiring OIDC token exchange. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude --- .github/workflows/issue-triage.yml | 2 +- examples/issue-triage.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml index c3ac7e0..fe092a6 100644 --- a/.github/workflows/issue-triage.yml +++ b/.github/workflows/issue-triage.yml @@ -11,7 +11,6 @@ jobs: permissions: contents: read issues: write - id-token: write steps: - name: Checkout repository @@ -102,6 +101,7 @@ jobs: with: prompt: $(cat /tmp/claude-prompts/triage-prompt.txt) anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} + github_token: ${{ secrets.GITHUB_TOKEN }} claude_args: | --allowedTools Bash(gh label list),mcp__github__get_issue,mcp__github__get_issue_comments,mcp__github__update_issue,mcp__github__search_issues,mcp__github__list_issues --mcp-config /tmp/mcp-config/mcp-servers.json diff --git a/examples/issue-triage.yml b/examples/issue-triage.yml index bd91fd9..de5ce1a 100644 --- a/examples/issue-triage.yml +++ b/examples/issue-triage.yml @@ -10,7 +10,6 @@ jobs: permissions: contents: read issues: write - id-token: write steps: - name: Checkout repository @@ -72,5 +71,6 @@ jobs: - It's okay to not add any labels if none are clearly applicable anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} + github_token: ${{ secrets.GITHUB_TOKEN }} claude_args: | --allowedTools "Bash(gh label list),mcp__github__get_issue,mcp__github__get_issue_comments,mcp__github__update_issue,mcp__github__search_issues,mcp__github__list_issues"