Skip to content

Commit c580107

Browse files
committed
chore(ci): update relase flow
1 parent e3b87ec commit c580107

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
- uses: actions/checkout@v2
4141
with:
4242
fetch-depth: 0
43+
persist-credentials: false
4344
- uses: actions/download-artifact@v2
4445
with:
4546
name: webhook
@@ -65,7 +66,7 @@ jobs:
6566
- name: Dry run release
6667
if: github.event_name != 'pull_request'
6768
env:
68-
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
69+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Read only token
6970
run: |
7071
cp .release/* .
7172
yarn

0 commit comments

Comments
 (0)