Skip to content

Upgrade and pin GitHub Actions to latest SHA#9

Merged
rmadsen-ks merged 6 commits into
mainfrom
fix/pin-action-shas
Apr 7, 2026
Merged

Upgrade and pin GitHub Actions to latest SHA#9
rmadsen-ks merged 6 commits into
mainfrom
fix/pin-action-shas

Conversation

@db-ks

@db-ks db-ks commented Mar 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Pins all GitHub Actions uses: references to full 40-character commit SHAs to reduce supply-chain risk. Both third-party and opentap-owned actions are pinned.

Changes

All floating tags (e.g. @v4, @main) replaced with pinned SHAs. opentap-owned actions are pinned to main branch commits pending tagged releases:

  • opentap/setup-opentap6eee68cf35f2e861f93d21029bbe7af4c427b9bd (main, pending v1.1)

Motivation

Pinning to full SHAs prevents a compromised or accidentally force-pushed tag from silently changing the code that runs in CI. Using the commit SHA of the current main branch ensures we get the latest fixes (Node 24 runtime, ubuntu-24.04 runners) while waiting for the upstream v1.1 tag to be cut.

Merge order

  1. Merge and tag opentap/setup-opentap#19 as v1.1 ✅ Merged — tag pending
  2. Update the SHA in this PR to the released v1.1 tag once cut
  3. Merge this PR

db-ks added 4 commits March 28, 2026 14:34
Pin all floating action refs to their latest version SHA for supply-chain security.

- actions/checkout: v4 -> v6.0.2 (de0fac2e4500dabe0009e67214ff5f5447ce83dd)
- actions/upload-artifact: v4 -> v7.0.0 (bbbca2ddaa5d8feaa63e36b76fdaad77386f024f)
- actions/download-artifact: v4 -> v8.0.1 (3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c)
- opentap/setup-opentap: v1.0 -> v1.0 (d178a37a089bf73bd99da5b68a00b3d96e6d4517)
@db-ks db-ks marked this pull request as draft March 29, 2026 08:20
@db-ks db-ks requested a review from rmadsen-ks April 7, 2026 16:41
@db-ks db-ks marked this pull request as ready for review April 7, 2026 16:41
@rmadsen-ks rmadsen-ks merged commit ab1d6bf into main Apr 7, 2026
2 checks passed
@github-actions

github-actions Bot commented Apr 7, 2026

Copy link
Copy Markdown

This change is part of OpenTAP Repository version 1.1.0-beta.3+ab1d6bfa or later.

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