ci: assert the token used for the flow

This commit is contained in:
Vlad Frangu
2024-12-28 21:28:58 +02:00
parent 6ace234311
commit b648c89b5e

View File

@@ -10,10 +10,14 @@ jobs:
check_deno:
name: Ensure Deno types are in sync with the code
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.DENO_GH_PAT }}
steps:
- name: Checkout Project
uses: actions/checkout@v4
with:
token: ${{ secrets.DENO_GH_PAT }}
- name: Use Node.js v20
uses: actions/setup-node@v4
@@ -25,5 +29,3 @@ jobs:
- name: Run Check Script
run: node ./scripts/actions/report-deno-not-ran.mjs
env:
GITHUB_TOKEN: ${{ secrets.DENO_GH_PAT }}