Skip to content

Commit 23990ea

Browse files
committed
feat: scope publish workflow jobs to 'release' environment
1 parent f7a5f5c commit 23990ea

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/publish-clm.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ defaults:
1414
jobs:
1515
deploy:
1616
runs-on: [ubuntu-24.04]
17+
environment: release
1718

1819
steps:
1920
- name: Checkout

.github/workflows/publish-scaffold.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ defaults:
1414
jobs:
1515
deploy:
1616
runs-on: [ubuntu-24.04]
17+
environment: release
1718

1819
steps:
1920
- name: Checkout

.github/workflows/publish.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
publish-go-module:
1515
name: Publish go module
1616
runs-on: ubuntu-24.04
17+
environment: release
1718

1819
steps:
1920
- name: Trigger registration on sum.golang.org

0 commit comments

Comments
 (0)