Repository navigation
The scorecard workflow has never run; make it triggerable and record why - #73
Merged
Merged
Conversation
… ran From the day it was added until today this workflow never ran once: four startup_failure results with no job, no log, and the message "This run likely failed because of a workflow file issue". The file was not the issue. actionlint passed it, all three pinned commits resolved, and three stripped-down copies on a throwaway branch failed identically, including one that was nothing but a checkout and the action. The cause was the repository's Actions policy: allowed_actions was 'selected' with GitHub-owned actions and two setup-* patterns permitted, and ossf/scorecard-action is neither GitHub-owned nor was it listed, so the run was refused before a job existed. Every other action in this tree lives under actions/ or github/, which is why nothing else ever hit it. The allow-list has since been corrected. Two changes here. workflow_dispatch, because a run that ends in startup_failure cannot be re-run and the only other triggers were a push to main and a weekly schedule, so every attempt to diagnose this cost a commit on the default branch; a workflow that cannot be triggered on demand is a workflow that cannot be tested, which is how it stayed broken. And the diagnosis itself, in a comment at the top, because the next action added from a new owner will hit the same wall and the message GitHub gives points at the wrong file. Signed-off-by: Ayla Croft <aylacroft@proton.me>
HackTuah
force-pushed
the
fix/scorecard-dispatch
branch
from
September 23, 2026 19:13
55a25fc to
e302c92
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This workflow was added alongside the OpenSSF badge work and has never run once. Four
startup_failureresults, no job, no log, and the message "This run likely failed because of a workflow file issue."The file was not the issue
actionlintpasses it.ossf/scorecard-actionv2.4.4,github/codeql-action,actions/checkout).The cause
The repository's Actions policy:
{"allowed_actions": "selected"} {"github_owned_allowed": true, "patterns_allowed": ["erlef/setup-beam@*", "mlugg/setup-zig@*"], "verified_allowed": false}ossf/scorecard-actionis neither GitHub-owned nor was it listed, so the run was refused before a job existed. Every other action in this tree lives underactions/orgithub/, which is why nothing else ever hit it. The allow-list has since been corrected to includeossf/scorecard-action@*.What this change does
workflow_dispatch. A run that ends instartup_failurecannot be re-run, and the only other triggers were a push to the default branch and a weekly schedule — so every attempt to diagnose this cost a commit onmain. A workflow that cannot be triggered on demand is a workflow that cannot be tested, which is how it stayed broken from the day it landed.The diagnosis, in a comment at the top of the file. The next action added from a new owner will hit the same wall, and the message GitHub gives points at the wrong file. Adding an action from a new owner to any workflow in this repository requires adding it to the allow-list, or the workflow silently never starts.
Evidence
mix test test/workflows_test.exs— 3 passed (every action still pinned to a 40-character commit SHA; both workflows still parse as YAML). The full gate runs on this PR.