Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/claude-triage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Claude issue triage

on:
issues:
types: [labeled]
issue_comment:
types: [created]

permissions: {}

jobs:
triage:
if: >-
!github.event.issue.pull_request &&
((github.event_name == 'issues' && github.event.label.name == 'ai: needs-triage') ||
(github.event_name == 'issue_comment' && github.event.comment.user.type == 'User' &&
(contains(github.event.issue.labels.*.name, 'ai: needs-triage') ||
contains(github.event.issue.labels.*.name, 'ai: triaged')) &&
(github.event.comment.user.login == github.event.issue.user.login ||
contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association))))
# Maximum grant required by the reusable workflow; its model-running job uses read-only GitHub access.
# Automated fixes and their publisher are disabled in the pinned workflow.
permissions:
contents: write
pull-requests: write
issues: write
id-token: write
uses: mui/mui-public/.github/workflows/claude-triage.yml@4512ed40c3abe07e677ea66a74fd9ef89fc1e732 # master
with:
issue-number: ${{ github.event.issue.number }}
mode: triage
comment-id: ${{ github.event_name == 'issue_comment' && github.event.comment.id || 0 }}
Loading