GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci: gate v1 releases behind the release environment by thdxr · Pull Request #58899 · anomalyco/opencode

Conversation

@thdxr

@thdxr thdxr commented Oct 25, 2026

Copy link
Copy Markdown
Member

Issue for this PR

Security fix requested by @thdxr: only Dax should be able to publish a release. Today anyone with write access can dispatch publish on v1 with a bump and ship opencode-ai to npm, GitHub Releases, Homebrew and AUR without review.

Type of change

  • Bug fix

What does this PR do?

This brings v1 in line with dev (#58885, #58898):

  • publish.yml: the version job uses the release environment for versioned runs (bump/version inputs). The publish job uses release whenever the run produces a release. V1 previews pushed to v1, ci and snapshot-* stay ungated.
  • publish-vscode.yml: uses release.

The release environment requires approval from thdxr, does not let admins bypass, and now allows the v1 branch.

How did you verify your code works?

Same expression pattern as dev's publish.yml. V1 previews produce no release output, so they run without an environment.

Checklist

  • I have not included unrelated changes in this PR

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@thdxr
ci: gate v1 releases behind the release environment
c05122e
@thdxr
thdxr merged commit a54426a into v1 Oct 25, 2026
9 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@thdxr
thdxr deleted the security/v1-release-environment branch October 25, 2026 06:06
@thdxr thdxr mentioned this pull request Oct 25, 2026
chore(ci): scope CI secrets to the release environment #59028
Closed
2 tasks done
@pminevp pminevp mentioned this pull request Nov 2, 2026
Upstream sync: anomalyco/opencode v1.19.5 into dev (conflicts) AxsionDev/Lunos#325
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@thdxr
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.