Skip to content

Call the Scorecard publish check after this repository's own Scorecard runs - #200

Merged
askalf merged 1 commit into
mainfrom
claude/nifty-bell-1lpk8e
Nov 10, 2026
Merged

askalf merged 1 commit into
mainfrom
claude/nifty-bell-1lpk8e

Conversation

@askalf

@askalf askalf commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

What changes, and why

#199 added actions/scorecard-publish-check and left it with no caller, since a caller pins a commit of main that has it. This adds this repository's own: .github/workflows/scorecard-publish.yml, the workflow the README shows, pinned at 50ee9df (the merge of #199).

It runs on workflow_run of Scorecard, only for a run that succeeded and only while the repository is public, on a GitHub-hosted runner, with actions: write on the job and no other permission. The README's list of this repository's own workflows and the changelog entry name it.

A workflow_run workflow runs from the default branch's copy, so nothing here runs on this pull request. The push to main that merges it starts a Scorecard run, and that run's completion is the action's first run on a runner against the real scorecard.dev. It settles the two things #199 said it relies on: that the runner fills the action's input defaults from github.event.* (if not, the check fails on a missing run id), and, should a publish fail, that a run dispatched with the job token is checked in turn.

How it is tested: node test-all.mjs passes (all 12). actionlint 1.7.12 reports nothing on the new file, and pin.mjs --action-pins reads its pin, so the pin bump will move it.

Callers: no. The file is this repository's own workflow and is outside the paths the pin bump watches.

…d runs

scorecard-publish.yml runs actions/scorecard-publish-check, pinned at the
commit that added it, on workflow_run of scorecard.yml. It is the action's
first caller, so the first Scorecard run on main after this merges is its
first run on a runner against the real scorecard.dev.
@askalf
askalf marked this pull request as ready for review November 10, 2026 03:02
@askalf
askalf enabled auto-merge (squash) November 10, 2026 03:05

@sprayberry-redline sprayberry-redline left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: approve. The new workflow calls the pinned publish check after successful Scorecard runs in public repositories, with the Actions permission needed for its bounded retry. Its trigger matches the existing Scorecard workflow, and the README and changelog identify the new caller accurately.

@askalf
askalf merged commit 13bfb33 into main Nov 10, 2026
14 of 15 checks passed
@askalf
askalf deleted the claude/nifty-bell-1lpk8e branch November 10, 2026 03:17
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.

3 participants