Skip to content

Commit 0c222cb

Browse files
authored
chore: restrict publish to environment (open-feature#431)
Restricts usage of the `NUGET_TOKEN` to only the `publish` environment. Signed-off-by: Todd Baert <[email protected]>
1 parent a2d4ca3 commit 0c222cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
release_tag_name: ${{ steps.release.outputs.tag_name }}
3030

3131
release:
32+
environment: publish
3233
runs-on: ubuntu-latest
3334
needs: release-please
3435
permissions:

0 commit comments

Comments
 (0)