Repository navigation
Conversation
The job grants issue write and an OIDC token, and @main is a label that can be moved onto different code without a commit in this repository.
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.
What is the fix?
When someone opens an issue, GitHub starts a job that is allowed to edit issues and to ask GitHub for a short-lived token. That job downloads
anthropics/claude-code-actionusing the name@main.@mainis not a specific copy of the code. It is a label, and the people who own that action can point the label at a different commit later. The next issue then runs whatever the label points at, with this repository's issue-write permission and token. Nobody has to change a file here for that to happen.What
Pin
anthropics/claude-code-actionandactions/checkoutin.github/workflows/issue-triage.ymlto the commits those names pointed at on 24 September 2026.Why
A branch name can be moved. A commit SHA is one snapshot, and that snapshot does not change. After this change, a new revision of the action cannot run in this job until someone updates the SHA in this repository and that update is reviewed.
How
anthropics/claude-code-action@mainwith commit9171db3e57d6a3140a37ddc2ba92788584e0ead6.actions/checkout@v4with commit11d5960a326750d5838078e36cf38b85af677262, because that step runs in the same job. The comment on each line keeps the old name so a reader can see what was pinned.