Skip to content

fix(ci): replace invalid Actions pin with the commit SHA it resolves to - #36533

Open
MGPOCKY wants to merge 1 commit into
nrwl:masterfrom
MGPOCKY:fix/ci-invalid-action-ref
Open

fix(ci): replace invalid Actions pin with the commit SHA it resolves to#36533
MGPOCKY wants to merge 1 commit into
nrwl:masterfrom
MGPOCKY:fix/ci-invalid-action-ref

Conversation

@MGPOCKY

@MGPOCKY MGPOCKY commented Jul 31, 2026

Copy link
Copy Markdown

Problem

These workflow uses: pins are invalid as written. Each item below shows the current value, why it is wrong, and the correct ref that must be used instead.

1. .github/workflows/ci.yml

Current (invalid):

uses: gradle/actions/setup-gradle@48b5f213c81028ace310571dc5ec0fbbca0b2947 # v4.4.3

Why this is wrong:

  • 48b5f213c81028ace310571dc5ec0fbbca0b2947 is not a commit SHA. It is the Git object SHA of an annotated tag (v4.4.3).
  • GitHub Actions does not accept annotated tag object SHAs in uses: pins (Commits API returns No commit found for SHA).
  • The correct pin is the commit SHA that tag v4.4.3 points to: ed408507eac070d1f99cc633dbcf757c94c7933a.

Correct pin:

uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3

2. .github/workflows/e2e-matrix.yml

Current (invalid):

uses: mxschmitt/action-tmate@1fb8b1023602bf1fd0e2994d7f1e93015cb5bbec # v3.22

Why this is wrong:

  • 1fb8b1023602bf1fd0e2994d7f1e93015cb5bbec is not a commit SHA. It is the Git object SHA of an annotated tag (v3.22).
  • GitHub Actions does not accept annotated tag object SHAs in uses: pins (Commits API returns No commit found for SHA).
  • The correct pin is the commit SHA that tag v3.22 points to: 7b6a61a73bbb9793cb80ad69b8dd8ac19261834c.

Correct pin:

uses: mxschmitt/action-tmate@7b6a61a73bbb9793cb80ad69b8dd8ac19261834c # v3.22

3. .github/workflows/generate-embeddings.yml

Current (invalid):

uses: pnpm/action-setup@7088e561eb65bb68695d245aa206f005ef30921d # v4.1.0

Why this is wrong:

  • 7088e561eb65bb68695d245aa206f005ef30921d is not a commit SHA. It is the Git object SHA of an annotated tag (v4.1.0).
  • GitHub Actions does not accept annotated tag object SHAs in uses: pins (Commits API returns No commit found for SHA).
  • The correct pin is the commit SHA that tag v4.1.0 points to: a7487c7e89a18df4991f7f222e4898a00d66ddda.

Correct pin:

uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

4. .github/workflows/issue-notifier.yml

Current (invalid):

uses: pnpm/action-setup@7088e561eb65bb68695d245aa206f005ef30921d # v4.1.0

Why this is wrong:

  • 7088e561eb65bb68695d245aa206f005ef30921d is not a commit SHA. It is the Git object SHA of an annotated tag (v4.1.0).
  • GitHub Actions does not accept annotated tag object SHAs in uses: pins (Commits API returns No commit found for SHA).
  • The correct pin is the commit SHA that tag v4.1.0 points to: a7487c7e89a18df4991f7f222e4898a00d66ddda.

Correct pin:

uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

5. .github/workflows/publish.yml

Current (invalid):

uses: cross-platform-actions/action@462ed697694d2ac9aa49e1225f395f7bb6dd49fe # v0.29.0

Why this is wrong:

  • 462ed697694d2ac9aa49e1225f395f7bb6dd49fe is not a commit SHA. It is the Git object SHA of an annotated tag (v0.29.0).
  • GitHub Actions does not accept annotated tag object SHAs in uses: pins (Commits API returns No commit found for SHA).
  • The correct pin is the commit SHA that tag v0.29.0 points to: e8a7b572196ff79ded1979dc2bb9ee67d1ddb252.

Correct pin:

uses: cross-platform-actions/action@e8a7b572196ff79ded1979dc2bb9ee67d1ddb252 # v0.29.0

Test plan

  • Each updated uses: ref resolves as a commit via the GitHub Commits API
  • Relevant CI jobs on this branch look healthy

@netlify

netlify Bot commented Jul 31, 2026

Copy link
Copy Markdown

👷 Deploy request for nx-dev pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 159ac56

@netlify

netlify Bot commented Jul 31, 2026

Copy link
Copy Markdown

👷 Deploy request for nx-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 159ac56

@MGPOCKY
MGPOCKY marked this pull request as ready for review July 31, 2026 13:12
@MGPOCKY
MGPOCKY requested a review from a team as a code owner July 31, 2026 13:12
@MGPOCKY
MGPOCKY requested a review from lourw July 31, 2026 13:12
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.

1 participant