Skip to content

ci(docs): bump pages actions to v5 (SHA-pinned deps) - #806

Merged
mvkonchits-db merged 1 commit into
developmentfrom
ci/fix-pages-artifact-v5
Sep 11, 2026
Merged

mvkonchits-db merged 1 commit into
developmentfrom
ci/fix-pages-artifact-v5

Conversation

@larsgeorge-db

Copy link
Copy Markdown
Collaborator

What

Second follow-up to the Pages deploy. After pinning the top-level actions to SHAs, the build still failed:

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

That's a transitive ref: upload-pages-artifact@v3.0.1 internally calls actions/upload-artifact@v4 via an unpinned tag, which the policy rejects even though our top-level pin was a SHA.

Fix — bump both Pages actions to v5, which pin their internal deps to SHAs:

  • actions/upload-pages-artifactfc324d3547104276b827a68afc52ff2a11cc49c9 (v5.0.0) — internal upload-artifact is SHA-pinned to v7.0.0
  • actions/deploy-pages368f82528645a54fb793d4d04e342629a3f51346 (v5.0.1) — matching artifact backend, no internal uses:

After merge

Push to development re-triggers the workflow (or run workflow_dispatch), which should now build and publish to https://databrickslabs.github.io/ontos/.

This pull request and its description were written by Isaac.

upload-pages-artifact@v3.0.1 internally calls actions/upload-artifact@v4
via an unpinned tag, which ontos policy rejects. v5.0.0 pins its internal
upload-artifact to a SHA; pair it with deploy-pages@v5.0.1 for the matching
artifact backend. Both remain pinned to full-length commit SHAs.

Co-authored-by: Isaac <no-reply@databricks.com>
@larsgeorge-db
larsgeorge-db requested a review from a team September 11, 2026 12:03

@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.

Reviewed with the code-review skill lens — clean, approving. This consolidates both GitHub Pages actions into one SHA-pinned bump: upload-pages-artifact v3.0.1→v5.0.0 (fc324d3) and deploy-pages v4.0.5→v5.0.1 (368f825), which is the compatible v5/v5 pairing. Both SHAs match the tags in the trailing comments, and this supersedes the individual Dependabot PRs #798 (upload-pages-artifact→v5) and #803 (deploy-pages→v5), which I'm closing in favor of this. Deliberately leaves setup-node/checkout at v4 (the #799/#802 majors are a separate decision). CI green.

@mvkonchits-db
mvkonchits-db added this pull request to the merge queue Sep 11, 2026
Merged via the queue into development with commit 30f4930 Sep 11, 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