Skip to content

Fix failing "FastStore" CI job: skip Chromatic step when token secret is missing - #3361

Closed
dependabot[bot] wants to merge 2 commits into
devfrom
dependabot/github_actions/pnpm/action-setup-6
Closed

dependabot[bot] wants to merge 2 commits into
devfrom
dependabot/github_actions/pnpm/action-setup-6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 1, 2026 •

Copy link
Copy Markdown
Contributor

The "FastStore" CI job was failing because the CHROMATIC_PROJECT_TOKEN secret is not available in Dependabot PR contexts. When the token is missing, the Chromatic action exits with a non-zero code ("Missing project token"), causing the entire CI job to fail.

Root Cause

The "Publish to Chromatic" step in .github/workflows/ci.yml runs unconditionally, but the CHROMATIC_PROJECT_TOKEN secret is not accessible in Dependabot or fork PRs, causing Chromatic CLI to exit with an error.

Fix

Added an if: ${{ secrets.CHROMATIC_PROJECT_TOKEN != '' }} condition to the "Publish to Chromatic" step so it is gracefully skipped when the secret is not available, while still running normally on PRs that have access to the secret.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 4 to 6.
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](pnpm/action-setup@v4...v6)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jun 1, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner June 1, 2026 09:38
@dependabot
dependabot Bot requested review from emersonlaurentino and hellofanny and removed request for a team June 1, 2026 09:38
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jun 1, 2026
@codesandbox-ci

codesandbox-ci Bot commented Jun 1, 2026 •

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@pkg-pr-new

pkg-pr-new Bot commented Jun 1, 2026

Copy link
Copy Markdown

Open in StackBlitz

@faststore/api

yarn add https://pkg.pr.new/vtex/faststore/@faststore/[email protected]

@faststore/cli

yarn add https://pkg.pr.new/vtex/faststore/@faststore/[email protected]

@faststore/components

yarn add https://pkg.pr.new/vtex/faststore/@faststore/[email protected]

@faststore/core

yarn add https://pkg.pr.new/vtex/faststore/@faststore/[email protected]

@faststore/diagnostics

yarn add https://pkg.pr.new/vtex/faststore/@faststore/[email protected]

@faststore/lighthouse

yarn add https://pkg.pr.new/vtex/faststore/@faststore/[email protected]

@faststore/sdk

yarn add https://pkg.pr.new/vtex/faststore/@faststore/[email protected]

@faststore/ui

yarn add https://pkg.pr.new/vtex/faststore/@faststore/[email protected]

commit: 1058a60

Copilot AI changed the title chore(deps): bump pnpm/action-setup from 4 to 6 Fix failing "FastStore" CI job: skip Chromatic step when token secret is missing Jun 1, 2026
@sonar-workflows

Copy link
Copy Markdown

@hellofanny

Copy link
Copy Markdown
Contributor

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@hellofanny

Copy link
Copy Markdown
Contributor

@dependabot recreate

@dependabot @github

dependabot Bot commented on behalf of github Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

Looks like pnpm/action-setup is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Oct 5, 2026
@dependabot
dependabot Bot deleted the dependabot/github_actions/pnpm/action-setup-6 branch October 5, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants