Skip to content

Own this repository's action pins: Dependabot and a weekly pin check - #6

Merged
aaraujo merged 1 commit into
mainfrom
chore/own-action-pins
Sep 29, 2026
Merged

aaraujo merged 1 commit into
mainfrom
chore/own-action-pins

Conversation

@aaraujo

@aaraujo aaraujo commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

After the SDK/CLI cutover, this repository's workflows are authored here rather than regenerated from the PackDB monorepo. So this repository owns its action pins, before the monorepo's export kit and its overlay pin watch are removed.

  • Dependabot (.github/dependabot.yml): a weekly github-actions entry with directory: /, next to the existing Cargo entry. GitHub updates SHA-pinned actions together with their same-line version comments. The PRs get this repository's normal review and CI, including the Dependabot secret store where the workflows need it.

  • Weekly read-only pin check (.github/workflows/oss-action-pin-watch.yml, scripts/check_action_pins.py): the same checks the monorepo ran against the export overlays, scoped to this repository's own .github/workflows:

    • every remote action is a full 40-character SHA with an exact # vX.Y.Z comment;
    • that tag still resolves to the pinned commit;
    • the pin is not behind (or suspiciously ahead of) the action's latest stable release.

    An empty scan (no workflows, or no pins) fails. The job runs the offline self-test first. It is not a required check: it reports, it does not gate.

  • PR gate: oss-ci.sh checks also runs the offline --self-test (10 controls). The existing full-SHA pin requirement is unchanged.

  • docs/WORKFLOWS.md: the "review action updates in the monorepo export overlay" instruction is replaced with the above.

Local: the self-test passes (10 controls); the live check passes on every pin in this repository's workflows; export_clean.py reports 0 findings; actionlint passes.

No tag, release, publication or visibility change.

The workflows are authored here after the SDK/CLI cutover, not regenerated from the monorepo, so Dependabot now updates their action pins weekly and a read-only weekly check (scripts/check_action_pins.py, scoped to .github/workflows) fails on a moved tag, a lagging pin, or an empty scan. oss-ci checks runs its offline self-test.
@aaraujo
aaraujo merged commit 8e7062a into main Sep 29, 2026
4 checks passed
@aaraujo
aaraujo deleted the chore/own-action-pins branch September 29, 2026 21:04
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