Skip to content

Commit 6a05419

Browse files
ci: use bot token on release creation (#677)
1 parent fc9c9f0 commit 6a05419

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/cd.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
release:
2222
needs: [ci, build]
2323
runs-on: ubuntu-24.04
24+
environment: production
2425
permissions:
2526
contents: write
2627
steps:
@@ -60,6 +61,7 @@ jobs:
6061
safety-macos/safety
6162
dist/*
6263
prerelease: ${{ contains(steps.get_version.outputs.version, 'b') }}
64+
token: ${{ secrets.SAFETY_BOT_TOKEN }}
6365

6466
publish:
6567
needs: [release]

0 commit comments

Comments
 (0)