Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v6
- name: Install pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
with:
run_install: false
- uses: actions/setup-node@v6
Expand All @@ -38,7 +38,7 @@ jobs:
steps:
- uses: actions/checkout@v6
- name: Install pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
with:
run_install: false
- uses: actions/setup-node@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v6

- name: Install pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
with:
run_install: false
- uses: actions/setup-node@v6
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v6

- name: Install pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Nit: The version comment was changed from # v4 to # v5.0.0, but all other SHA-pinned actions in these workflow files use major-version-only comments (# v2, # v1). Consider using # v5 for consistency.

Extended reasoning...

What the issue is

The version comment on the pnpm/action-setup SHA pin was changed from # v4 (major-version-only) to # v5.0.0 (full semver). This is inconsistent with the comment style used by every other SHA-pinned action in the same workflow files.

Evidence of inconsistency

Looking at .github/workflows/main.yml alone, the other SHA-pinned actions use major-version-only comments:

  • oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
  • denoland/setup-deno@667a34cdef165d8d2b2e98dde39547c9daac7282 # v2

And in release.yml:

  • changesets/action@6a0a831ff30acef54f2c6aa1cbbc1096b066edaf # v1

The old value # v4 matched this convention. The new value # v5.0.0 breaks it.

Impact

This is purely cosmetic — the comment has no functional effect on which version is used (the SHA pin determines that). However, inconsistent comment styles make the workflow files slightly harder to scan and could cause confusion about whether the .0.0 suffix is meaningful.

How to fix

Change all 11 occurrences of # v5.0.0 to # v5 across the 6 workflow files. This is a Dependabot-generated PR, so Dependabot chose the v5.0.0 format automatically — a quick find-and-replace before merging would restore consistency.

Step-by-step proof

  1. Before the PR: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4 — major-only comment, consistent with other actions.
  2. After the PR: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0 — full semver comment, inconsistent.
  3. Compare with setup-bun on line 84 of main.yml: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2 — major-only.
  4. The established convention in this repo is major-version-only comments for SHA-pinned actions.

id: pnpm-install
with:
run_install: false
Expand All @@ -44,7 +44,7 @@ jobs:
- uses: actions/checkout@v6

- name: Install pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
id: pnpm-install
with:
run_install: false
Expand All @@ -71,7 +71,7 @@ jobs:
steps:
- uses: actions/checkout@v6
- name: Install pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
with:
run_install: false
- uses: actions/setup-node@v6
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
- uses: actions/checkout@v6

- name: Install pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
id: pnpm-install
with:
run_install: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v6

- name: Install pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
with:
run_install: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v6

- name: Install pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
with:
run_install: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-spec-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v6

- name: Install pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
id: pnpm-install
with:
run_install: false
Expand Down
Loading