Skip to content

Commit 1f424f2

Browse files
committed
Revert "Remove environment constraint from release workflow jobs"
This reverts commit 39c2c9f.
1 parent 39c2c9f commit 1f424f2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
publish:
4343
runs-on: ubuntu-latest
4444
if: github.event_name == 'release'
45+
environment: release
4546
needs: build
4647

4748
permissions:
@@ -68,6 +69,7 @@ jobs:
6869
publish-github-container-registry:
6970
runs-on: ubuntu-latest
7071
if: github.event_name == 'release'
72+
environment: release
7173
needs: build
7274
permissions:
7375
contents: read

0 commit comments

Comments
 (0)