Skip to content

chore(deps): bump pnpm/action-setup from 5.0.0 to 6.0.0#326

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/github_actions/pnpm/action-setup-6.0.0
Open

chore(deps): bump pnpm/action-setup from 5.0.0 to 6.0.0#326
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/github_actions/pnpm/action-setup-6.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 13, 2026

Bumps pnpm/action-setup from 5.0.0 to 6.0.0.

Release notes

Sourced from pnpm/action-setup's releases.

v6.0.0

Added support for pnpm v11.

Commits
  • 08c4be7 docs(README): update action-setup version
  • 5798914 chore: update .gitignore
  • ddffd66 fix: remove accidentally committed file
  • b43f991 fix: update pnpm to 11.0.0-rc.0
  • 3852509 README.md: bring versions up-to-date (#222)
  • 6e7bdbd chore: bump bootstrap pnpm to 11.0.0-beta.4-1 and add update script
  • 6b87c46 fix: Windows standalone mode — bypass broken npm shims (#217)
  • 994d756 feat: read pnpm version from devEngines.packageManager (#211)
  • 738f428 docs: upgrade pnpm/action-setup from v4 to v5
  • 62bce64 fix: extract pnpm version from packageManager field instead of returning unde...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](pnpm/action-setup@v5...v6)

---
updated-dependencies:
- dependency-name: pnpm/action-setup
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Apr 13, 2026

Labels

The following labels could not be found: github-actions. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Apr 13, 2026

Greptile Summary

Routine Dependabot bump of pnpm/action-setup from v5.0.0 to v6.0.0 across all nine GitHub Actions workflow files. The SHA pin (08c4be7e2e672a47d11bd04269e27e5f3e8529cb) is consistent and correct in every workflow except deploy-docs.yml, which continues to use a mutable tag reference.

Confidence Score: 5/5

Safe to merge — all functional changes are correct; findings are cosmetic comment and consistency issues only.

Every workflow now pins to the correct v6.0.0 commit SHA. The two P2 findings (stale # v4 comments and one mutable tag reference in deploy-docs.yml) are pre-existing style issues that do not affect runtime behavior or security in any meaningful way.

deploy-docs.yml uses a tag reference instead of a SHA pin; several files carry stale # v4 version comments.

Important Files Changed

Filename Overview
.github/workflows/ci.yml Correctly bumps pnpm/action-setup from v5.0.0 to v6.0.0 with updated SHA and version comment.
.github/workflows/deploy-docs.yml Updates tag reference from @v5 to @v6.0.0 without SHA pinning, inconsistent with the rest of the workflows.
.github/workflows/bundle-analysis.yml SHA updated to v6 commit but version comment remains stale as # v4.
.github/workflows/release.yml Both job occurrences updated to v6 SHA, but version comments still read # v4.
.github/workflows/stable-release.yml SHA updated to v6 commit but version comment remains stale as # v4.
.github/workflows/prepare-release.yml SHA updated to v6 commit but version comment remains stale as # v4.
.github/workflows/release-on-tag.yml SHA updated to v6 commit but version comment remains stale as # v4.
.github/workflows/docs-check.yml SHA updated to v6 commit but version comment remains stale as # v4.
.github/workflows/docs-seo-aeo.yml SHA updated to v6 commit but version comment remains stale as # v4.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["pnpm/action-setup bump\nv5.0.0 → v6.0.0"] --> B["SHA-pinned workflows\n(8 files)"]
    A --> C["Tag-pinned workflow\ndeploy-docs.yml"]
    B --> D["SHA: 08c4be7e...\n✅ Correct + consistent"]
    C --> E["@v6.0.0 tag\n⚠️ Mutable reference"]
    B --> F["Version comments\n⚠️ 7 files still say '# v4'"]
    D --> G["ci.yml ✅\nbundle-analysis.yml\ndocs-check.yml\ndocs-seo-aeo.yml\nprepare-release.yml\nrelease-on-tag.yml\nrelease.yml x2\nstable-release.yml"]
Loading
Prompt To Fix All With AI
This is a comment left during a code review.
Path: .github/workflows/deploy-docs.yml
Line: 26

Comment:
**No SHA pin on `deploy-docs.yml`**

This workflow uses a mutable tag reference (`@v6.0.0`) while all other workflows in this PR use a full commit SHA. If the tag is ever force-pushed, this workflow would silently run a different version. Consider pinning to the same SHA used elsewhere (`08c4be7e2e672a47d11bd04269e27e5f3e8529cb`).

```suggestion
        uses: pnpm/action-setup@08c4be7e2e672a47d11bd04269e27e5f3e8529cb # v6.0.0
```

How can I resolve this? If you propose a fix, please make it concise.

---

This is a comment left during a code review.
Path: .github/workflows/bundle-analysis.yml
Line: 31

Comment:
**Stale version comment after bump**

The SHA now points to v6.0.0 but the inline comment still reads `# v4`. The same pattern appears in `docs-check.yml`, `docs-seo-aeo.yml`, `prepare-release.yml`, `release-on-tag.yml`, `release.yml` (both jobs), and `stable-release.yml`. Only `ci.yml` was updated correctly. Consider updating the comments to `# v6.0.0` across all affected files for consistency with `ci.yml`.

```suggestion
        uses: pnpm/action-setup@08c4be7e2e672a47d11bd04269e27e5f3e8529cb # v6.0.0
```

How can I resolve this? If you propose a fix, please make it concise.

Reviews (1): Last reviewed commit: "chore(deps): bump pnpm/action-setup from..." | Re-trigger Greptile

@@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@v6

- name: Setup pnpm
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.

P2 No SHA pin on deploy-docs.yml

This workflow uses a mutable tag reference (@v6.0.0) while all other workflows in this PR use a full commit SHA. If the tag is ever force-pushed, this workflow would silently run a different version. Consider pinning to the same SHA used elsewhere (08c4be7e2e672a47d11bd04269e27e5f3e8529cb).

Suggested change
- name: Setup pnpm
uses: pnpm/action-setup@08c4be7e2e672a47d11bd04269e27e5f3e8529cb # v6.0.0
Prompt To Fix With AI
This is a comment left during a code review.
Path: .github/workflows/deploy-docs.yml
Line: 26

Comment:
**No SHA pin on `deploy-docs.yml`**

This workflow uses a mutable tag reference (`@v6.0.0`) while all other workflows in this PR use a full commit SHA. If the tag is ever force-pushed, this workflow would silently run a different version. Consider pinning to the same SHA used elsewhere (`08c4be7e2e672a47d11bd04269e27e5f3e8529cb`).

```suggestion
        uses: pnpm/action-setup@08c4be7e2e672a47d11bd04269e27e5f3e8529cb # v6.0.0
```

How can I resolve this? If you propose a fix, please make it concise.


- name: Setup pnpm
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
uses: pnpm/action-setup@08c4be7e2e672a47d11bd04269e27e5f3e8529cb # v4
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.

P2 Stale version comment after bump

The SHA now points to v6.0.0 but the inline comment still reads # v4. The same pattern appears in docs-check.yml, docs-seo-aeo.yml, prepare-release.yml, release-on-tag.yml, release.yml (both jobs), and stable-release.yml. Only ci.yml was updated correctly. Consider updating the comments to # v6.0.0 across all affected files for consistency with ci.yml.

Suggested change
uses: pnpm/action-setup@08c4be7e2e672a47d11bd04269e27e5f3e8529cb # v4
uses: pnpm/action-setup@08c4be7e2e672a47d11bd04269e27e5f3e8529cb # v6.0.0
Prompt To Fix With AI
This is a comment left during a code review.
Path: .github/workflows/bundle-analysis.yml
Line: 31

Comment:
**Stale version comment after bump**

The SHA now points to v6.0.0 but the inline comment still reads `# v4`. The same pattern appears in `docs-check.yml`, `docs-seo-aeo.yml`, `prepare-release.yml`, `release-on-tag.yml`, `release.yml` (both jobs), and `stable-release.yml`. Only `ci.yml` was updated correctly. Consider updating the comments to `# v6.0.0` across all affected files for consistency with `ci.yml`.

```suggestion
        uses: pnpm/action-setup@08c4be7e2e672a47d11bd04269e27e5f3e8529cb # v6.0.0
```

How can I resolve this? If you propose a fix, please make it concise.


- name: Setup pnpm
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
uses: pnpm/action-setup@08c4be7e2e672a47d11bd04269e27e5f3e8529cb # v4
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Eight workflow files have their pnpm/action-setup hash updated to the v6.0.0 release commit (08c4be7e), but the inline version comments still read # v4 instead of # v6.0.0. The comments should be updated to # v6.0.0 in: bundle-analysis.yml, docs-check.yml, docs-seo-aeo.yml, prepare-release.yml, release-on-tag.yml, release.yml (2 places), and stable-release.yml.

Extended reasoning...

What the bug is and how it manifests

This PR bumps pnpm/action-setup from v5.0.0 to v6.0.0 by updating the pinned commit hash to 08c4be7e2e672a47d11bd04269e27e5f3e8529cb. The convention in this repo is to pin actions by full commit SHA for security, with an inline comment documenting the human-readable version tag (e.g., # v6.0.0). The PR correctly updated the hash in all 9 workflow files, but only updated the version comment in one of them (ci.yml). The remaining 8 files now have a mismatch between the actual version being executed (v6.0.0) and what the comment says (v4).

The specific code path that triggers it

In ci.yml, the line was changed from:

uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0

to:

uses: pnpm/action-setup@08c4be7e2e672a47d11bd04269e27e5f3e8529cb # v6.0.0

But in bundle-analysis.yml, docs-check.yml, docs-seo-aeo.yml, prepare-release.yml, release-on-tag.yml, release.yml (lines 32 and 136), and stable-release.yml, the same hash change was applied while retaining # v4 — which was already stale before this PR (those files were using the v5 hash fc06bc12 but commenting it as # v4).

Why existing code doesn't prevent it

There is no automated check that validates the consistency between the pinned commit hash and the version comment. The discrepancy is a purely human/tooling oversight — Dependabot updated the hashes but did not update the comments in the affected files.

What the impact would be

The workflows will function correctly because GitHub Actions resolves the commit SHA, not the comment. However, the comments exist specifically to aid human auditing: when a developer reviews these files to verify which version of a third-party action is being used, they will see # v4 and believe the workflow is running v4.x, when it is actually running v6.0.0. This is misleading for security audits and dependency tracking.

How to fix it

Update all 8 affected files, changing # v4 to # v6.0.0 on the pnpm/action-setup line. For example, in bundle-analysis.yml line 31:

uses: pnpm/action-setup@08c4be7e2e672a47d11bd04269e27e5f3e8529cb # v6.0.0

Step-by-step proof

  1. The PR title states this bumps pnpm/action-setup from 5.0.0 to 6.0.0.
  2. The PR description lists commit 08c4be7 as the v6.0.0 release commit.
  3. In the diff for ci.yml: old hash fc06bc12... # v5.0.0 → new hash 08c4be7e... # v6.0.0 ✓ (correct).
  4. In the diff for bundle-analysis.yml: old hash fc06bc12... # v4 → new hash 08c4be7e... # v4 ✗ (comment not updated).
  5. Steps 4 repeats for docs-check.yml, docs-seo-aeo.yml, prepare-release.yml, release-on-tag.yml, release.yml (twice), and stable-release.yml.
  6. A developer reading bundle-analysis.yml would see # v4 and incorrectly conclude the workflow uses pnpm/action-setup v4, when it actually uses v6.0.0.

- name: Setup pnpm
uses: pnpm/action-setup@v5
uses: pnpm/action-setup@v6.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.

🟣 deploy-docs.yml uses pnpm/action-setup@v6.0.0 (a mutable tag) while all 8 other workflows updated in this PR use the pinned commit SHA 08c4be7e2e672a47d11bd04269e27e5f3e8529cb. This is a pre-existing issue — deploy-docs.yml was already using mutable tags for all its actions (checkout@v6, setup-node@v6, wrangler-action@v3, github-script@v8) before this PR — but since this PR touched this exact line, it was an opportunity to bring it in line with the pinned-hash approach used everywhere else. Consider updating to: uses: pnpm/action-setup@08c4be7 # v6.0.0

Extended reasoning...

What the bug is: deploy-docs.yml line 28 uses pnpm/action-setup@v6.0.0 — a mutable semver tag — while all 8 other workflow files updated in this same PR use the pinned commit hash 08c4be7e2e672a47d11bd04269e27e5f3e8529cb. A mutable tag means the tag can be force-pushed to point to different commit content at any time, so the action that actually runs can silently change without the workflow file changing.

The specific code path: In deploy-docs.yml, the "Setup pnpm" step resolves pnpm/action-setup@v6.0.0 at runtime. GitHub Actions resolves this to whatever commit the v6.0.0 tag points to at execution time. If the tag is moved (e.g., in response to a supply chain compromise), all future runs of this workflow will execute attacker-controlled code with the workflow's permissions (contents: read, deployments: write, pull-requests: write).

Why existing code doesn't prevent it: The other 8 workflows were correctly updated to use the immutable SHA 08c4be7e2e672a47d11bd04269e27e5f3e8529cb, which resolves to exactly one specific git object and can never be silently changed. deploy-docs.yml was not given the same treatment — it was only bumped from @v5 to @v6.0.0, both being mutable references. Furthermore, deploy-docs.yml uses mutable tags for all its other actions as well: checkout@v6, setup-node@v6, cloudflare/wrangler-action@v3, and github-script@v8.

Pre-existing nature: This is a pre-existing issue. The entire deploy-docs.yml file used mutable tags before this PR. The PR updated pnpm/action-setup from @v5 to @v6.0.0 but did not fix the underlying security posture, whereas the other 8 files were properly pinned.

Impact: The deploy-docs workflow has write access to deployments and pull-requests, making it a higher-value target. A compromised mutable action tag could exfiltrate secrets (CLOUDFLARE_API_TOKEN, CLOUDFLARE_ACCOUNT_ID), post malicious PR comments, or manipulate Cloudflare Pages deployments.

How to fix: Replace the mutable tag with the pinned hash that is already used across all other workflows:

- name: Setup pnpm
  uses: pnpm/action-setup@08c4be7e2e672a47d11bd04269e27e5f3e8529cb # v6.0.0

Ideally, all other mutable action references in this file (checkout@v6, setup-node@v6, wrangler-action@v3, github-script@v8) should also be pinned to their respective commit SHAs.

Step-by-step proof:

  1. This PR updates deploy-docs.yml line 28 from pnpm/action-setup@v5 to pnpm/action-setup@v6.0.0
  2. The diff for ci.yml shows the correct pattern: pnpm/action-setup@08c4be7 # v6.0.0
  3. Same pinned SHA appears in bundle-analysis.yml, docs-check.yml, docs-seo-aeo.yml, prepare-release.yml, release-on-tag.yml, release.yml (×2), and stable-release.yml — 9 total pinned occurrences vs. 1 mutable reference remaining in deploy-docs.yml
  4. If an attacker forces the pnpm/action-setup v6.0.0 tag to point to malicious code, every subsequent deploy-docs.yml run would execute that code — while all 8 other workflows remain unaffected due to immutable SHA pinning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants