inspector/.github/workflows
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
..
claude.yml ci: gate claude.yml on author_association to skip unauthorized invokes 2026-05-01 10:19:59 -04:00
cli_tests.yml Bump actions/checkout from 4 to 6 2026-02-09 23:27:21 +00:00
e2e_tests.yml chore(deps): bump actions/upload-artifact from 6 to 7 2026-03-02 22:15:18 +00:00
main.yml ci: switch npm publish to OIDC trusted publishing 2026-04-14 11:41:12 +01:00