chore(actions): use correct GH token

This commit is contained in:
Jan De Dobbeleer 2022-10-21 14:11:13 +02:00
parent 72b01a6a6d
commit a217ec78e1
No known key found for this signature in database
GPG key ID: D9FE64756B9A61E6

View file

@ -12,7 +12,7 @@ jobs:
- name: Check and close 🔐
uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
github-token: ${{ secrets.GH_PAT }}
script: |
const { repo: { owner, repo } } = context;
const pr = context.payload.pull_request;