Repository navigation
Remove the unused Claude Code workflow from this public repository - #1010
Merged
Merged
Conversation
mganderson-goodfire
requested review from
danbraunai-goodfire and
ocg-goodfire
November 6, 2026 15:37
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.
Why
This repository is public, and
.github/workflows/claude.yamllets anyone with write access start a Claude Code agent by writing "@claude" in an issue, a pull request or a review. That agent can push to the repository (contents: write), can request a GitHub identity token (id-token: write), has no limit on the tools it may use, and runs an unpinned version of the action (anthropics/claude-code-action@beta, a tag that can move to new code at any time). In a public repository, much of the text the agent reads (issues, pull requests and comments) can be written by anyone, so a hidden instruction in that text, known as a prompt injection, could steer an agent that can push to the repository. As part of a security review, we are removing agent workflows that nobody uses from our public repositories.Dan already removed this workflow on 2026-07-15 (69a066a, "Note that development moved to a private repo; drop agent workflow"). It came back on 2026-07-28 in the restructure commit 77b658a, which looks accidental.
What this changes in practice
Nothing for CI. The workflow cannot run today: the repository has no
ANTHROPIC_API_KEYsecret, and no organization secret is shared with it, so any trigger would fail immediately. Claude last ran here on 2026-07-07. Every run after that was skipped, because the comment or issue did not mention @claude. Thechecks.yamlworkflow is not changed. Removing the file closes the risk that someone adds the secret back later and, without noticing, turns on an agent that can push to a public repository.Changes
.github/workflows/claude.yaml. No other file refers to it.How this was checked
Breaking change
None. If the private development repository still has this file, please drop it there too, so that a future sync cannot bring it back. The syncs since July have not touched it.
🤖 Generated with Claude Code