Skip to content

ci: pin action deps to SHA and add integration test coverage - #927

Merged
Gbangbolaoluwagbemiga merged 1 commit into
HyperSafeD:mainfrom
Mercy017:fix/issue-627-pin-action-deps
Jun 25, 2026
Merged

ci: pin action deps to SHA and add integration test coverage#927
Gbangbolaoluwagbemiga merged 1 commit into
HyperSafeD:mainfrom
Mercy017:fix/issue-627-pin-action-deps

Conversation

@Mercy017

Copy link
Copy Markdown

Summary

  • Pin all GitHub Actions dependencies in action.yml and .github/workflows/e2e-coverage.yml to immutable commit SHAs, preventing supply-chain attacks via mutable tags
  • Add action-tests job to the E2E workflow to provide integration/e2e coverage for the action scripts under tests/action/
  • Add inline # <tag> comments on every pinned ref so the human-readable version is preserved

Changes

action.yml

  • github/codeql-action/upload-sarif@v3 → pinned to dd903d2e4f5405488e5ef1422510ee31c8b32357

.github/workflows/e2e-coverage.yml

  • actions/checkout@v6df4cb1c069e1874edd31b4311f1884172cec0e10
  • dtolnay/rust-toolchain@master67ef31d5b988238dd797d409d6f9574278e20537
  • actions/cache@v527d5ce7f107fe9357f9df03efb73ab90386fccae
  • codecov/codecov-action@v3ab904c41d6ece82784817410c45d8b8c02684457
  • New action-tests job: runs python -m unittest discover -s tests/action -p "test_*.py" with pinned actions/checkout and actions/setup-python@v5

Test plan

  • E2E Tests & Coverage job passes (cargo build, cargo test, tarpaulin, codecov upload)
  • Action Integration Tests job passes (all tests under tests/action/ discovered and passing)
  • All action dependency refs are SHA-pinned (no mutable tags)

Closes #605
Closes #619
Closes #910
Closes #627

Pin all GitHub Actions dependencies to immutable commit SHAs to prevent
supply-chain attacks via mutable tags. Add action-tests job to e2e-coverage
workflow for integration/e2e coverage of action scripts.

Closes HyperSafeD#605, HyperSafeD#619, HyperSafeD#910, HyperSafeD#627
@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

@oluwagbemigaphilip is attempting to deploy a commit to the gbangbolaoluwagbemiga's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jun 25, 2026

Copy link
Copy Markdown

@Mercy017 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Gbangbolaoluwagbemiga
Gbangbolaoluwagbemiga merged commit 43cd9e3 into HyperSafeD:main Jun 25, 2026
19 of 21 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

3 participants