We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
on
1 parent b648c89 commit 92d0ef4Copy full SHA for 92d0ef4
.github/workflows/check-deno.yml
@@ -1,7 +1,7 @@
1
name: Deno
2
3
on:
4
- pull_request:
+ pull_request_target:
5
types:
6
- opened
7
- synchronize
@@ -10,14 +10,13 @@ jobs:
10
check_deno:
11
name: Ensure Deno types are in sync with the code
12
runs-on: ubuntu-latest
13
- env:
14
- GITHUB_TOKEN: ${{ secrets.DENO_GH_PAT }}
+ permissions:
+ contents: write
15
+ pull-requests: write
16
17
steps:
18
- name: Checkout Project
19
uses: actions/checkout@v4
- with:
20
- token: ${{ secrets.DENO_GH_PAT }}
21
22
- name: Use Node.js v20
23
uses: actions/setup-node@v4
@@ -29,3 +28,5 @@ jobs:
29
28
30
- name: Run Check Script
31
run: node ./scripts/actions/report-deno-not-ran.mjs
+ env:
32
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments