using PAT for accessing github api

This commit is contained in:
Adam Brown 2022-09-01 22:49:00 +01:00 committed by GitHub
parent 4c5466df86
commit dce87eb30e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ jobs:
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.MY_PAT }}
script: |
const { startReleaseProcess } = await import('${{ github.workspace }}/tools/beta-release/app.js')
await startReleaseProcess({github, context, core})