Skip to content

claude security-audit action dies in ~2-4s on every PR #524

Description

@lroolle

Description

The claude.yml PR security-audit job has failed on every recent PR (#507, #508, #516, #517) — Claude Code installs fine, then the run step exits 1 within ~2-4s with no error output. The bot's own comment says "Claude encountered an error after 2s".

Type

  • Bug fix

Details

Failure is pre-diff: it dies identically on unrelated changes (docs, pins, entrypoint fix), right after settings setup, before any tool call. claude_code_oauth_token is passed and ANTHROPIC_API_KEY is empty in the step env — smells like an expired/revoked CLAUDE_CODE_OAUTH_TOKEN secret. Non-gating today, but a permanently red check trains everyone to ignore it.

Related Files

  • .github/workflows/claude.yml

Test Plan

  • rotate the secret, re-run on any open PR, job goes green or fails with a real finding

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions