From b648c89b5eda5907bbbb7fa114b9c59fddde3175 Mon Sep 17 00:00:00 2001 From: Vlad Frangu Date: Sat, 28 Dec 2024 21:28:58 +0200 Subject: [PATCH] ci: assert the token used for the flow --- .github/workflows/check-deno.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-deno.yml b/.github/workflows/check-deno.yml index f21f5631..4294291e 100644 --- a/.github/workflows/check-deno.yml +++ b/.github/workflows/check-deno.yml @@ -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 }}