Skip to content

Commit 2674464

Browse files
committed
Gate Kotlin and Go release publishes on env approvals
Wires the new `release-github-packages` and `release-go` environments into the publish jobs so releases pause for approval before pushing the Maven artifact (Kotlin) or the go/v* git tag (Go), matching the existing gates on TypeScript (`release-npm`) and Ruby (`release-rubygems`). Swift release is git-tag-only with no publish job, so there's nothing meaningful to gate there — the SwiftPM artifact is the tag itself, which exists before any workflow runs.
1 parent b7afa5c commit 2674464

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release-go.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
needs: [smithy, test]
7070
if: github.event_name == 'push'
7171
runs-on: ubuntu-latest
72+
environment: release-go
7273
permissions:
7374
contents: write
7475
steps:

.github/workflows/release-kotlin.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
name: Publish to GitHub Packages
4747
needs: [smithy, test]
4848
runs-on: ubuntu-latest
49+
environment: release-github-packages
4950
permissions:
5051
contents: read
5152
packages: write

0 commit comments

Comments
 (0)