Skip to content

ci: pin actions/checkout to full SHA in back-merge workflow#552

Merged
will-yuponce-db merged 1 commit into
mainfrom
ci/pin-checkout-backmerge
Jun 22, 2026
Merged

ci: pin actions/checkout to full SHA in back-merge workflow#552
will-yuponce-db merged 1 commit into
mainfrom
ci/pin-checkout-backmerge

Conversation

@will-yuponce-db

Copy link
Copy Markdown
Contributor

Summary

The back-merge workflow added in #548 used actions/checkout@v4, which fails the org policy:

Error: The action actions/checkout@v4 is not allowed in databrickslabs/ontos because all actions must be pinned to a full-length commit SHA.

Pins actions/checkout to the exact SHA the rest of this repo's workflows already use: df4cb1c069e1874edd31b4311f1884172cec0e10 # v6. No behavior change.

Testing

  • YAML validated; single-line change to the uses: pin.

The back-merge workflow (#548) used actions/checkout@v4, which fails the
databrickslabs/ontos policy requiring all actions be pinned to a
full-length commit SHA. Pin to the same SHA the other workflows in this
repo already use (df4cb1c069e1874edd31b4311f1884172cec0e10 # v6).
@will-yuponce-db will-yuponce-db requested a review from a team as a code owner June 22, 2026 12:13

@mvkonchits-db mvkonchits-db left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Pure supply-chain hardening — pinning a third-party Action to a full SHA. Recommended practice. CI green, no runtime code touched.

@will-yuponce-db will-yuponce-db added this pull request to the merge queue Jun 22, 2026
Merged via the queue into main with commit 624da24 Jun 22, 2026
9 checks passed
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.

2 participants