Skip to content

ci: SHA-pin actions, add Dependabot + gitleaks secret scan#4

Merged
gsavastano merged 1 commit into
mainfrom
ci/sha-pin-dependabot-secret-scan
Jun 25, 2026
Merged

ci: SHA-pin actions, add Dependabot + gitleaks secret scan#4
gsavastano merged 1 commit into
mainfrom
ci/sha-pin-dependabot-secret-scan

Conversation

@gsavastano

Copy link
Copy Markdown
Contributor

Supply-chain hygiene to match the OpenSSF posture already used by OpenDPP/opendpp-node and OpenDPP/opendpp-interop. This was the one repo of the three with no Dependabot, tag-pinned (mutable) actions, and no secret scan. Public repo → free Actions minutes.

Changes

  • SHA-pin every action: actions/checkout v4→v7.0.0, actions/setup-node v4→v6.4.0, actions/github-script v7→v9.0.0 (mutable tags → immutable commit SHAs, with a # vX.Y.Z comment Dependabot keeps in sync).
  • Add .github/dependabot.ymlgithub-actions ecosystem only (CI is the zero-dependency validate.mjs, no npm lockfile, so no npm ecosystem). Without this the new SHA pins would freeze forever.
  • Add a gitleaks secret-scan job — mirrors opendpp-interop's pinned manual download. (gitleaks-action requires a GITLEAKS_LICENSE for org-owned repos, so the action form can't be used here; the manual 8.30.1 download needs no license.)
  • timeout-minutes on both jobs.

Validation

  • YAML parses; actionlint clean; node validate.mjs✓ OKF bundle valid (211 concepts).

…t scan

Brings this repo in line with the OpenSSF supply-chain posture already used by
OpenDPP/opendpp-node and OpenDPP/opendpp-interop. CI runs on free public-repo minutes.

- SHA-pin every action (actions/checkout v4->v7.0.0, actions/setup-node v4->v6.4.0,
  actions/github-script v7->v9.0.0) instead of mutable tags.
- Add .github/dependabot.yml (github-actions ecosystem only — validate.mjs is
  zero-dependency, so no npm ecosystem) so the new SHA pins don't silently rot.
- Add a gitleaks secret-scan job, mirroring opendpp-interop's pinned manual download
  (gitleaks-action needs a GITLEAKS_LICENSE for org repos, so it can't be used here).
- timeout-minutes on both jobs.
@gsavastano gsavastano marked this pull request as ready for review June 25, 2026 07:39
@gsavastano gsavastano marked this pull request as draft June 25, 2026 07:41
@gsavastano gsavastano marked this pull request as ready for review June 25, 2026 07:52
@gsavastano gsavastano merged commit 57f3550 into main Jun 25, 2026
2 checks passed
@gsavastano gsavastano deleted the ci/sha-pin-dependabot-secret-scan branch June 27, 2026 21:38
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