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 versioned releases behind the release environment (#58885) · ogrman/opencode@2afdbcd

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • publish.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/publish.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/publish.yml
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,8 @@ run-name: "${{ format('release {0}', inputs.bump) }}"
44
on:
55
push:
66
branches:
7-
- ci
87
- dev
98
- beta
10-
- fix/npm-native-binary-install
11-
- snapshot-*
129
workflow_dispatch:
1310
inputs:
1411
bump:
@@ -42,6 +39,8 @@ jobs:
4239
version:
4340
runs-on: blacksmith-4vcpu-ubuntu-2404
4441
if: github.repository == 'anomalyco/opencode'
42+
# Versioned releases wait for approval in the release environment, which only allows dev.
43+
environment: ${{ (inputs.bump || inputs.version) && 'release' || '' }}
4544
steps:
4645
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
4746
with:

0 commit comments

Comments
0 (0)
You are visitor 01402792 — 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.