Skip to content

tend check: configuration drift on diffplug/dormouse #339

Description

@dormouse-bot

tend check reports the following configuration drift on diffplug/dormouse. This requires maintainer/admin action (creating an environment, setting its deployment policy) — the bot cannot fix it itself.

  • credential-environments (FAIL): 2 jobs request id-token: write outside any environment — release.yml:build-standalone and release.yml:build-vscode, which mint the token for actions/attest-build-provenance. Nothing gates the ref those tokens are minted from. Clearing it means moving both jobs into an environment whose deployment policy names only admin-gated refs; v* tags qualify, since the Tag operations ruleset blocks tag creation and update across ~ALL tag refs.

Resolved 2026-08-15 by @nedtwigg (comment): the environment, secrets, claude-auth, and repo-secret-allowlist FAILs are all cleared. The tend environment now exists with a named-branch policy containing exactly main; TEND_BOT_TOKEN and CLAUDE_CODE_OAUTH_TOKEN live in it with the repo-level copies deleted; every secret-reading tend job carries environment: {name: tend, deployment: false} and no longer requests id-token: write.

Org-level secrets — settled, not drift. A later repo-secret-allowlist sweep with admin:org enumerates all ten diffplug org secrets, but none are reachable from this repo: repos/diffplug/dormouse/actions/organization-secrets returns 0 (verified). The sweep enumerates without consulting visibility; filed upstream as max-sixty/tend#993. Do not add these names to secrets.allowed — they are already at GitHub's tightest scoping, and the entry would suppress a future genuine share. Recorded in the running-tend skill in #376.

Last refreshed: 2026-08-15

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