Add Claude issue triage workflow#1301
Open
msrathore-db wants to merge 1 commit intodatabricks:mainfrom
Open
Conversation
Adds a new GitHub Actions workflow that triages issues when a collaborator adds the 'claude-triage' label. Claude reads the issue, searches for related issues/PRs, analyzes relevant code, and posts a structured triage comment. Security: 9 defense-in-depth layers including label gate, author_association check, API permission verification, no body interpolation in YAML, hardened prompt, tool allowlist, timeout, minimal permissions, and auto label removal. Co-authored-by: Isaac Signed-off-by: Madhavendra Rathore <madhavendra.rathore@databricks.com>
6032609 to
c7ff0da
Compare
|
|
||
| ### Step 2: Search for Previous Occurrences | ||
|
|
||
| - Search for related closed/open issues using: `gh issue list --repo <repository> --search "<relevant keywords>" --state all --limit 10` |
Collaborator
There was a problem hiding this comment.
This looks very repetitive to https://github.com/databricks/databricks-jdbc/blob/main/.claude/commands/fix-github-issue.md : can we somehow link this here?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/claude-issue-triage.yml) that triggers Claude to triage issues when a collaborator adds theclaude-triagelabel.github/ISSUE_TRIAGE_PROMPT.mdfor easy maintenance — Claude reads the issue, searches for related issues/PRs, analyzes relevant code, validates the issue, asks for missing details, and posts a structured summaryTest plan
claude-triagelabel in the repo:gh label create claude-triage --description "Triggers Claude AI triage on this issue" --color "7057ff"claude-triagelabel → verify Claude posts a structured triage comment and the label is auto-removedNO_CHANGELOG=true
This pull request was AI-assisted by Isaac.