Skip to content

Commit 8e0601e

Browse files
committed
fix
1 parent 27ea43f commit 8e0601e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/autolabel-pr-issue.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
id: extract-issues
2121
uses: actions/github-script@v7
2222
with:
23+
github-token: ${{ secrets.GITHUB_TOKEN }}
2324
result-encoding: string
2425
script: |
2526
const prBody = context.payload.pull_request.body || '';
@@ -54,6 +55,7 @@ jobs:
5455
id: get-labels
5556
uses: actions/github-script@v7
5657
with:
58+
github-token: ${{ secrets.GITHUB_TOKEN }}
5759
result-encoding: string
5860
script: |
5961
const issueNumbers = JSON.parse('${{ steps.extract-issues.outputs.result }}');
@@ -99,6 +101,7 @@ jobs:
99101
- name: Apply Labels to PR
100102
uses: actions/github-script@v7
101103
with:
104+
github-token: ${{ secrets.GITHUB_TOKEN }}
102105
script: |
103106
const labels = ${{ steps.get-labels.outputs.result }};
104107

0 commit comments

Comments
 (0)