Skip to content

ci: wire SCORECARD_TOKEN into the Scorecard run#47

Merged
askalf merged 1 commit into
mainfrom
harden/scorecard-token
Jul 12, 2026
Merged

ci: wire SCORECARD_TOKEN into the Scorecard run#47
askalf merged 1 commit into
mainfrom
harden/scorecard-token

Conversation

@askalf

@askalf askalf commented Jul 12, 2026

Copy link
Copy Markdown
Owner

One line from the fleet template (strongroom/deepdive/hands shape): repo_token: ${{ secrets.SCORECARD_TOKEN || github.token }}. The default GITHUB_TOKEN can't read branch-protection settings, so the Branch-Protection check reads -1 today; with the operator's fine-grained PAT (administration:read + metadata:read) in the SCORECARD_TOKEN secret it scores (expect 4, the solo ceiling). Falls back to the default token when the secret is unset — no behavior change until the secret exists.

@askalf
askalf merged commit 3dd2de9 into main Jul 12, 2026
4 checks passed
@askalf
askalf deleted the harden/scorecard-token branch July 12, 2026 16:53
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