Skip to content

Commit 0bc7a40

Browse files
Update restrict_pr.yml
1 parent 387e64e commit 0bc7a40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/restrict_pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
id: calculate_score
1515
uses: actions/github-script@v4
1616
with:
17-
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
17+
github-token: ${{ secrets.TOKEN }}
1818
script: |
1919
const owner = context.repo.owner;
2020
const repo = context.repo.repo;
@@ -79,7 +79,7 @@ jobs:
7979
if: always() && steps.calculate_score.outputs.close_pull_request == 'true'
8080
uses: actions/github-script@v4
8181
with:
82-
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
82+
github-token: ${{ secrets.TOKEN }}
8383
script: |
8484
const owner = context.repo.owner;
8585
const repo = context.repo.repo;
@@ -110,4 +110,4 @@ jobs:
110110
repo,
111111
pull_number: pullRequestNumber,
112112
state: 'closed'
113-
});
113+
});

0 commit comments

Comments
 (0)