Skip to content

Which Claude credential should public-repo CI lanes use: subscription token, API key or workload identity federation? #6968

Closed as not planned

Description

@kyle-sexton

claude-code-action accepts an API key, a subscription OAuth token, or workload identity federation with no stored secret. Weigh which fits lanes in a public repository whose runs other people can trigger.

Activity

  1. added
    wayfind: interviewWayfind decision item: contract/requirements call the user must make; human in the loop.
    needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.
    on Oct 11, 2026
  2. added
    needs-triageNot yet classified. Floor until a type and one priority tier are set.
    on Oct 11, 2026
  3. github-actions commented on Oct 11, 2026

    @github-actions
    Contributor

    Thanks for the report. Automated triage handed this issue to a maintainer.

    Automated triage. A maintainer reviews it.

  4. removed
    needs-triageNot yet classified. Floor until a type and one priority tier are set.
    on Oct 12, 2026
  5. added theissue type on Oct 12, 2026
  6. kyle-sexton commented on Oct 18, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded.

    Question: The claude-code-action lanes in this public repo need a Claude credential. Options: (a) keep the subscription OAuth token; (b) an API key; (c) workload identity federation (no stored secret).

    Owner's answer: (a), never an API key, and evaluate (c) separately. Unchanged and mostly settled already: accepted ADR 0062 says an Action lane "is never given a key", and the workflows use the OAuth token. Basis: docs/adr/0062-*.md:101-103; .github/workflows/pr-review-hosted.yml:153.

    The owner accepted this recommendation as item D18 of a 32-decision batch in an attended backlog-shaping session on 2026-10-18. The batch question: "Accept all 32 recommendations, including the four flagged above (D2 close the relearn, D26 cross-repo sync without per-repo confirm, D10 narrow hook, D23 delete guard only)?" The owner answered: "Accept all 32 (Recommended)".

    Posted by AI from the owner's answer in that session.

  7. kyle-sexton commented on Oct 18, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI during backlog shaping.

    Closing as not planned. Owner decision D18 (2026-10-18): keep the subscription OAuth token, never an API key. main already does this: ADR 0062:101-103 and .github/workflows/pr-review-hosted.yml:153-154. Workload identity federation is to be evaluated separately; no workflow or doc on origin/main uses it (grep of .github and docs finds only ADR 0038:35-38). The federation option is tracked separately in #7955.

    The owner approved this close in an attended backlog-shaping session on 2026-10-18 (question: "Close the 9 issues ...?"; answer: "Close all 9 (Recommended)").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.wayfind: interviewWayfind decision item: contract/requirements call the user must make; human in the loop.

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions