Revert "Remove environment constraint from release workflow jobs"
This reverts commit 39c2c9f8ce.
This commit is contained in:
parent
39c2c9f8ce
commit
1f424f2525
1 changed files with 2 additions and 0 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
|
@ -42,6 +42,7 @@ jobs:
|
|||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name == 'release'
|
||||
environment: release
|
||||
needs: build
|
||||
|
||||
permissions:
|
||||
|
|
@ -68,6 +69,7 @@ jobs:
|
|||
publish-github-container-registry:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name == 'release'
|
||||
environment: release
|
||||
needs: build
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
|||
Loading…
Reference in a new issue