Skip to content

Commit 23c65d1

Browse files
committed
ci: use default GITHUB_TOKEN instead of app token
1 parent 363c30d commit 23c65d1

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/preview-tarball.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,9 @@ jobs:
2929
run: |
3030
TARBALL_NAME=$(ls *.tgz | head -1 | xargs basename)
3131
echo "name=$TARBALL_NAME" >> $GITHUB_OUTPUT
32-
- name: Generate GitHub App Token
33-
id: app-token
34-
uses: actions/create-github-app-token@v1
35-
with:
36-
app-id: ${{ vars.APP_ID }}
37-
private-key: ${{ secrets.APP_PRIVATE_KEY }}
3832
- name: Create or update prerelease
3933
env:
40-
GH_TOKEN: ${{ steps.app-token.outputs.token }}
34+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4135
TARBALL_NAME: ${{ steps.tarball.outputs.name }}
4236
run: |
4337
TAG="prerelease"

0 commit comments

Comments
 (0)