Skip to content

standards needs its own .github/workflows/actions.lock — lockfile enforcement 0s-startup-fails every downstream reusable caller #573

Description

@hyperpolymath

Problem

GitHub's workflow-lockfile enforcement now rejects runs as 0-second startup_failures (no jobs, no logs, no check runs — error only on the run HTML page) for workflows that aren't covered by .github/workflows/actions.lock.

Repos have been cured individually with gh actions-lock (proven: echidna #341, haec #46, and today metadatastician/chronicles-of-slavia#59 — 10+ workflows went from 0s startup_failure to green in one commit).

But workflows that call this repo's reusables cannot be cured downstream. On chronicles-of-slavia, after its lockfile landed, exactly the seven reusable-caller workflows still 0s-fail:

  • rust-ci, governance, secret-scanner, scorecard, mirror, hypatia-scan, boj-build — all uses: hyperpolymath/standards/.github/workflows/*@412a703…

The enforcement needs the called repo to carry its own lockfile before caller runs can start. Until standards ships one, every downstream wrapper in the estate (~6 reusables × dozens of repos) stays dead regardless of per-repo remediation.

Fix

gh extension install github/gh-actions-lock   # if not present
gh actions-lock                                # in this repo; commit the result

Gotchas from the estate remediation memory: verify no dtolnay/rust-toolchain refs get semver-narrowed (dtolnay reads the toolchain from the REF), and if an SPDX-header linter checks line 1, move the # This workflow is managed by gh actions-lock. marker to line 2 (it inserts itself as line 1; chronicles hit exactly this, fixed in metadatastician/chronicles-of-slavia@1d0dffd).

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions