Skip to content

INTER-2673: ci: pin third-party GitHub Actions to commit SHAs - #218

Merged
JuroUhlar merged 1 commit into
mainfrom
chore/pin-ci-actions
Nov 11, 2026
Merged

JuroUhlar merged 1 commit into
mainfrom
chore/pin-ci-actions

Conversation

@JuroUhlar

@JuroUhlar JuroUhlar commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Context

INTER-2673

Why

A moved upstream tag could change what the E2E workflow runs, so the third-party pnpm/action-setup is pinned to a commit SHA.

Things to note

  • Each pin resolves to the version CI already runs today, so behavior does not change.
  • Other third-party actions in the repo were already pinned.

Verification

gh api repos/<owner>/<action>/git/ref/tags/<tag> (dereferenced for annotated tags) returns the pinned SHA for each version. Workflow YAML parses. CI on this PR runs the pinned actions.

Change outline

Action From To
pnpm/action-setup (e2e.yml) v4 b906aff… (v4.3.0)

Moving the upstream tag can no longer change what CI runs.
Fixes Claude Security finding find_013A5y1fToSavvr1Fr5E6sFr.
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ This PR doesn't contain any changesets. If there are user-facing changes, don't forget to run:

pnpm exec changeset

to create a changeset.

@JuroUhlar
JuroUhlar requested a balanced review from Copilot November 10, 2026 13:58
@github-actions

Copy link
Copy Markdown
Contributor

Coverage report

St.❔
Category Percentage Covered / Total
🟢 Statements 96.79% 151/156
🟢 Branches 95.51% 85/89
🟢 Functions 97.78% 44/45
🟢 Lines 97.33% 146/150

Test suite run success

43 tests passing in 15 suites.

Report generated by 🧪jest coverage report action from 79da4fa

Show full coverage report
St File % Stmts % Branch % Funcs % Lines Uncovered Line #s
🟢 All files 96.79 95.5 97.77 97.33
🟢  src 100 100 100 100
🟢   detect-env.ts 100 100 100 100
🟢   env.types.ts 100 100 100 100
🟢   ...nt-context.ts 100 100 100 100
🟢   ssr.ts 100 100 100 100
🟢   ...sitor-data.ts 100 100 100 100
🟢  src/components 100 100 100 100
🟢   ...-provider.tsx 100 100 100 100
🟢   ...vironment.tsx 100 100 100 100
🟢  src/utils 88.09 87.5 92.3 90
🟢   ...is-defined.ts 100 100 100 100
🟢   ...-cache-key.ts 80.76 83.33 85.71 84 5,10,43,52
🟢   to-error.ts 100 100 100 100
🟢   ...mise-store.ts 100 100 100 100

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues for the change pinning pnpm/action-setup to a specific commit.

No open issues 🎉

What changed in this PR

This PR hardens the E2E workflow against upstream tag changes by pinning pnpm/action-setup to a specific commit.

Changes:

  • Replaces the mutable v4 tag with b906affcce14559ad1aafd4ab0e942779e9f58b1, annotated as v4.3.0.
File Description
.github/​workflows/​e2e.yml Pins the pnpm setup action to a commit SHA.

Review effort: Balanced

@JuroUhlar
JuroUhlar marked this pull request as ready for review November 11, 2026 10:08
@JuroUhlar JuroUhlar changed the title ci: pin third-party GitHub Actions to commit SHAs INTER-2673: ci: pin third-party GitHub Actions to commit SHAs Nov 11, 2026
@JuroUhlar
JuroUhlar merged commit 402c607 into main Nov 11, 2026
25 checks passed
@JuroUhlar
JuroUhlar deleted the chore/pin-ci-actions branch November 11, 2026 13:55
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.

3 participants