Skip to content

Commit f07347e

Browse files
fix(ci): pin third-party actions to full commit SHAs (#54)
fix(ci): pin third-party actions to full commit SHAs The account's Actions policy requires a full-length SHA ref. A tag or branch ref is refused at startup — `startup_failure`, no jobs, "this workflow graph cannot be shown" — so these workflows could not run at all. This resolves each ref to the commit it currently points at and records the ref in a trailing comment, e.g. `actions/checkout@<sha> # v4`. `dtolnay/rust-toolchain` takes its toolchain from the ref itself, so those steps also gained an explicit `with: toolchain:` input; without it, a SHA ref would silently lose the channel. No behaviour is intended to change beyond the pins.
1 parent 605d78b commit f07347e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • netstack/.github/workflows

‎netstack/.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
- name: Checkout
7979
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
8080
- name: Link Checker
81-
uses: lycheeverse/lychee-action@v2.7.0
81+
uses: lycheeverse/lychee-action@a8c4c7cb88f0c7386610c35eb25108e448569cb0 # v2.7.0
8282
with:
8383
args: --verbose --no-progress '**/*.md' '**/*.adoc'
8484
fail: true

0 commit comments

Comments
 (0)