Skip to content

codeql-guard: configure org-read token for scheduled sweep #31

@haasonsaas

Description

@haasonsaas

Summary

The scheduled codeql-guard org sweep requires secrets.EVALOPS_ORG_READ_TOKEN, but the secret is not currently configured for evalops/.github. The 2026-04-30 scheduled run failed before code search with:

Set secrets.EVALOPS_ORG_READ_TOKEN to a token with org-wide code search access.

I did not set this to the local personal gh token because that would put a broad user credential into Actions without an explicit credential-owner decision.

Required setup

Create an Actions secret named EVALOPS_ORG_READ_TOKEN available to evalops/.github, backed by a least-privilege token that can search code across the EvalOps org.

Acceptance criteria

  • gh secret list --repo evalops/.github or the selected org-secret configuration shows EVALOPS_ORG_READ_TOKEN available to this repo.
  • A manual codeql-guard workflow dispatch reaches the org search step instead of failing on the missing-secret check.
  • If real uses: github/codeql-action hits remain, the workflow opens or reuses a single codeql-guard: CodeQL workflow drift detected issue.

Related

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