inspector/.github
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall c044b5d65f ci: gate claude.yml on author_association to skip unauthorized invokes
Previously the workflow's `if:` only checked the event type and the
presence of `@claude` in the body. The job would start for any commenter
and only later fail when the action attempted privileged operations on
behalf of a user without write access. That produced noisy red runs and
wasted runner minutes for what is effectively an authorization rejection.

Add an `author_association` check (OWNER, MEMBER, or COLLABORATOR) to
each of the four trigger branches (issue_comment, pull_request_review_comment,
pull_request_review, issues), so the job is short-circuited at workflow
evaluation time and never starts for unauthorized invokers.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 10:19:59 -04:00
..
ISSUE_TEMPLATE [Docs] Fix broken CONTRIBUTING.md links in GitHub templates 2025-12-08 16:50:43 +09:00
workflows ci: gate claude.yml on author_association to skip unauthorized invokes 2026-05-01 10:19:59 -04:00
dependabot.yml Enable Dependabot for GitHub Actions (#1048) 2026-02-04 06:26:13 -07:00
pull_request_template.md [Docs] Fix broken CONTRIBUTING.md links in GitHub templates 2025-12-08 16:50:43 +09:00