Skip to content

ci: add Claude issue triage workflow for bug reports#1011

Merged
Boshen merged 1 commit intomainfrom
ci/claude-issue-triage
Mar 18, 2026
Merged

ci: add Claude issue triage workflow for bug reports#1011
Boshen merged 1 commit intomainfrom
ci/claude-issue-triage

Conversation

@Boshen
Copy link
Copy Markdown
Member

@Boshen Boshen commented Mar 18, 2026

Summary

  • Adds a GitHub Actions workflow that triggers Claude Code to analyze newly opened bug issues
  • Security hardened: no user-controlled string interpolation in prompts, shallow clone, no persisted credentials, read-only tool permissions
  • Only triggers on this repo (not forks), on issue creation, and only for issues labeled bug

🤖 Generated with Claude Code

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 18, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 3ade020
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/69ba46193848020008be282f

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d11e13d480

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Adds a GitHub Actions workflow that triggers Claude Code to analyze
newly opened bug issues. Includes security hardening: no user-controlled
string interpolation in prompts, shallow clone, no persisted credentials,
and read-only tool permissions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Boshen Boshen force-pushed the ci/claude-issue-triage branch from d11e13d to 3ade020 Compare March 18, 2026 06:28
@Boshen Boshen merged commit 7f2fee5 into main Mar 18, 2026
11 checks passed
@Boshen Boshen deleted the ci/claude-issue-triage branch March 18, 2026 06:28
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3ade0202bc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +25 to +27
uses: anthropics/claude-code-action@26ec041249acb0a944c0a47b6c0c13f05dbc5b44 # v1.0.70
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Allow non-maintainers to trigger issue triage

This anthropics/claude-code-action invocation is wired to issues.opened, but it does not pass github_token or configure allowed_non_write_users. Per the action's default access-control rules, that means it only runs for actors with write access, so bug reports opened by normal community users will be skipped instead of analyzed. On an OSS repo this makes the workflow effectively dead for the reporters it is supposed to help.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant