Skip to content

Skip store publishing steps unless all required secrets are set#18

Merged
ShiosOS merged 4 commits into
cursor/store-publish-automation-1cf5from
cursor/fix-store-publish-skip-conditions-c0c9
Jul 14, 2026
Merged

Skip store publishing steps unless all required secrets are set#18
ShiosOS merged 4 commits into
cursor/store-publish-automation-1cf5from
cursor/fix-store-publish-skip-conditions-c0c9

Conversation

@ShiosOS

@ShiosOS ShiosOS commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Problem

The store publishing steps in .github/workflows/release.yml each gated on only a single secret:

  • The AMO signing step checked only AMO_JWT_ISSUER, but the web-ext sign command also requires AMO_JWT_SECRET.
  • The Chrome Web Store step checked only CWS_EXTENSION_ID, but the upload also requires CWS_CLIENT_ID, CWS_CLIENT_SECRET, and CWS_REFRESH_TOKEN.

If a repo configured some but not all of a store's secrets, the step still ran, failed against the store API, and aborted the job before the "Create GitHub Release" step — breaking the graceful degradation to a plain GitHub Release that the workflow comments promise.

Fix

Each if condition now requires all of that store's secrets to be non-empty, so a partially configured store is skipped instead of failing the release.

Verification

  • YAML parses cleanly and the workflow passes @action-validator/cli.
Open in Web Open in Cursor 

ShiosOS and others added 3 commits July 14, 2026 14:25
…higher bar (#15)

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
)

Both steps are gated on their secrets being configured, so the workflow
keeps producing a plain GitHub Release until AMO_JWT_ISSUER/SECRET and
the CWS_* secrets are added. With secrets present, the .xpi attached to
the release is the Mozilla-signed (unlisted channel) file, and the .zip
is uploaded to the Chrome Web Store and submitted for publication.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Julius Walton <ShiosOS@users.noreply.github.com>
…re set

Co-authored-by: Julius Walton <ShiosOS@users.noreply.github.com>
@ShiosOS
ShiosOS marked this pull request as ready for review July 14, 2026 18:36
…s skip conditions

Co-authored-by: Julius Walton <ShiosOS@users.noreply.github.com>
@ShiosOS
ShiosOS merged commit 1e77cc1 into cursor/store-publish-automation-1cf5 Jul 14, 2026
7 checks passed
@ShiosOS
ShiosOS deleted the cursor/fix-store-publish-skip-conditions-c0c9 branch July 14, 2026 18:40

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 7eca596. Configure here.

Comment thread checks.js
// name that itself contains a standalone status word (e.g. "error-pages")
// is still ambiguous — labels are all GitHub's accessible rows give us.
const FAILING_RE =
/\b(fail(?:ed|ing|ure|s)?|error(?:ed|s)?|timed out|cancel(?:l?ed)?|denied|action required)\b/i;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Plural failures not detected

Low Severity

The new word-boundary FAILING_RE no longer treats check row labels that use the plural word failures as failing, whereas the previous substring fail matcher did. The conversation checks indicator can stay passing or unknown when a label only reports failures in that form.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 7eca596. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Stale comment

Risk: medium. Not approving: Cursor Bugbot reported 1 unresolved finding and its check finished as skipping. Requesting human review.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Risk: medium. Not approving: Cursor Bugbot reported 1 unresolved finding and its check finished as skipping. Requesting human review; ShiosOS assigned as reviewer.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

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.

2 participants