Skip to content

ci: add workflow_dispatch to Release - #79

Merged
ScriptedAlchemy merged 1 commit into
mainfrom
ci/release-workflow-dispatch
Sep 16, 2026
Merged

ScriptedAlchemy merged 1 commit into
mainfrom
ci/release-workflow-dispatch

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Summary

  • Add workflow_dispatch to Release so we can run OIDC + provenance publish without another main push.
  • No runner/job/step changes.

Test plan

  • Merge, then gh workflow run Release --ref main
  • Confirm run starts and uses existing OIDC trusted publishing path

Potato: one-line trigger only so Release can be run without a main push while Actions queues starve.
@changeset-bot

changeset-bot Bot commented Sep 16, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 658931d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ScriptedAlchemy
ScriptedAlchemy merged commit 3e3a073 into main Sep 16, 2026
0 of 2 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 16, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-16T23:20:19.726656Z 658931d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ScriptedAlchemy
ScriptedAlchemy deleted the ci/release-workflow-dispatch branch September 16, 2026 23:18

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 658931d2df

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

on:
push:
branches: [main]
workflow_dispatch:

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Restrict manual releases to the main branch

A write-capable user can now dispatch this workflow with gh workflow run Release --ref <feature-branch>, causing every release step to check out and operate on an unreviewed ref while retaining contents: write and id-token: write. The gh workflow run documentation defines --ref as the branch or tag containing the workflow version, so a feature branch with a modified package version and no pending changesets can reach the OIDC-enabled npm run release path without passing main-branch review. Gate the release job to refs/heads/main or reject non-main dispatches.

Useful? React with 👍 / 👎.

cursor Bot pushed a commit that referenced this pull request Sep 16, 2026
Bring in lockfile integrity refresh (#78), windows-latest CI (#76/#77),
and Release workflow_dispatch (#79) while keeping the relay keyring session isolation.

Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
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.

1 participant