Skip to content

ci: pin the shared workflows by commit SHA - #19

Merged
NSchatz merged 1 commit into
mainfrom
sec11/pin-shared-workflows
Nov 8, 2026
Merged

NSchatz merged 1 commit into
mainfrom
sec11/pin-shared-workflows

Conversation

@NSchatz

@NSchatz NSchatz commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Scorecard's Pinned-Dependencies check, and CodeQL's actions/unpinned-tag query, count a reusable workflow called at a tag as unpinned, so each caller of the shared workflows here raised an alert. The callers now name the commit of the reference they already used, with the reference's name beside it, which is the form hl7, mllp, x12, ncpdp, and astm already use and config's parser template writes (ST37):

uses: cosyte/.github/.github/workflows/ci.yml@498c7c13c8869bf11b67fa8324684ec2dc691ec6 # workflows-2026-11-07-498c7c13c886

workflows-2026-11-07-498c7c13c886 is an immutable release of cosyte/.github whose tag points at that commit, so every job runs exactly what it ran before, and job.workflow_sha inside the shared workflows is the same commit.

Dependabot now ignores cosyte/.github*. Given a commit pin with no version-like tag, it offers the newest commit on the default branch, which here is cosyte/.github's main and not a published reference; the reference moves by hand, with every caller together (ST37), as assets and crew already arrange.

Clears code-scanning Scorecard alerts 11, 12, and 13 and CodeQL alerts 8, 9, and 10.

Items: SEC11.

@NSchatz
NSchatz merged commit b708ea5 into main Nov 8, 2026
29 checks passed
@NSchatz
NSchatz deleted the sec11/pin-shared-workflows branch November 8, 2026 03:52
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