Skip to content

ci(release): gate signed release on the release environment#2249

Merged
harshitsinghbhandari merged 1 commit into
AgentWrapper:mainfrom
harshitsinghbhandari:chore/gate-release-on-environment
Jun 28, 2026
Merged

ci(release): gate signed release on the release environment#2249
harshitsinghbhandari merged 1 commit into
AgentWrapper:mainfrom
harshitsinghbhandari:chore/gate-release-on-environment

Conversation

@harshitsinghbhandari

Copy link
Copy Markdown
Collaborator

Why

The Desktop release workflow triggers on any desktop-v* tag push (or workflow_dispatch) and consumes the repo-level macOS signing secrets. There is no tag protection and no environment gate, so any of the ~10 write-access collaborators can cut a fully signed, notarized production build to ~7.6k users. Now that live Developer ID + notarization secrets are configured on this repo, that surface should be closed.

What

Adds environment: release to the release and release-intel jobs so the build that uses the signing secrets cannot run until a required reviewer approves the deployment to the release environment.

Required to take effect (admin)

This PR is inert until an admin configures the release environment (Settings > Environments > release) with required reviewers. Until then, behavior is unchanged (no worse than today). Recommended companion control: a tag ruleset restricting who can create desktop-v* tags.

Note for whoever merges second

This touches the release-intel job, which #2244 also edits (macos-13 -> macos-15-intel). If #2244 merges first, resolve the trivial conflict by keeping both runs-on: macos-15-intel and environment: release.

🤖 Generated with Claude Code

The Desktop release fires on any desktop-v* tag push and consumes the
repo-level signing secrets, so any write-access collaborator can cut a
signed prod build. Reference the `release` environment from the build
jobs so a designated reviewer must approve before the secrets are used.
Takes effect once required reviewers are configured on that environment.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@harshitsinghbhandari harshitsinghbhandari merged commit 2c377dc into AgentWrapper:main Jun 28, 2026
1 check passed
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