Skip to content

Remove the unused Claude Code workflow from this public repository - #1010

Merged
mganderson-goodfire merged 1 commit into
mainfrom
remove-claude-workflow
Nov 6, 2026
Merged

mganderson-goodfire merged 1 commit into
mainfrom
remove-claude-workflow

Conversation

@mganderson-goodfire

Copy link
Copy Markdown
Contributor

Why

This repository is public, and .github/workflows/claude.yaml lets 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_KEY secret, 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. The checks.yaml workflow 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

  • Deletes .github/workflows/claude.yaml. No other file refers to it.

How this was checked

  • The repository's Actions secrets list is empty, and no organization secrets are shared with it.
  • Actions history: 2,081 runs since 2025-09-25, of which 107 ran Claude; the last real run was on 2026-07-07.

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

@mganderson-goodfire
mganderson-goodfire merged commit fe8ae9e into main Nov 6, 2026
36 checks passed
@mganderson-goodfire
mganderson-goodfire deleted the remove-claude-workflow branch November 6, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant