Files
lancedb/.github/workflows
Shu Chen c136022c7b ci: pin third-party GitHub Actions to full commit SHAs (#4922)
Pin every remaining third-party action reference in `.github/` to a full
40-character commit SHA, with the intended version in a trailing comment
(`uses: owner/action@<sha> # vX.Y.Z`), following the pins already in
`cli.yml`, `typos.yml` and `make-release-commit.yml`. Fixes #3293.

53 references across 13 files change, covering 16 actions, including the
branch refs called out in the issue (`dtolnay/rust-toolchain@master`,
`@stable`) and `pypa/gh-action-pypi-publish@release/v1`. Each SHA is the
commit its current tag or branch resolves to today, so the code that
runs is unchanged. Comments name the most specific tag on that commit
(for example `v2.9.3` for `Swatinem/rust-cache@v2`); where no such tag
exists, they keep the original ref (`v1` for `srvaroa/labeler` and
`rui314/setup-mold`, `v3` for `addnab/docker-run-action`,
`stable`/`master` for `dtolnay/rust-toolchain`). The `stable` branch of
`dtolnay/rust-toolchain` defaults its `toolchain` input to `stable`, so
pinning its SHA keeps the `nodejs.yml` step that passes no toolchain on
stable.

GitHub-maintained `actions/*` references are left on their tags, as in
the existing pins. Keeping SHAs current through Dependabot is the
sibling issue and is not part of this change.

Validation:

- No third-party `uses:` reference in `.github/` is left without a
40-character SHA (53 before, 0 after).
- For all 23 distinct third-party pins in `.github/`, `git ls-remote`
against the upstream repository confirms the SHA is the commit that the
commented tag or branch points to. A deliberately altered SHA and a
reverted tag ref were both caught.
- `pre-commit run` on the changed files passes (check-yaml, end-of-file,
trailing whitespace, typos).
- actionlint 1.7.12 reports the same 35 findings on `main` and on this
branch, all of them existing ones (custom runner labels and composite
actions under `workflows/`). It reports none for this change.
2026-11-19 11:18:10 -08:00
..
2026-09-09 15:33:04 +08:00