Skip to content

Commit

Permalink
Update restrict_pr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HimanshuNarware authored Sep 4, 2024
1 parent 387e64e commit 0bc7a40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/restrict_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
id: calculate_score
uses: actions/github-script@v4
with:
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
github-token: ${{ secrets.TOKEN }}
script: |
const owner = context.repo.owner;
const repo = context.repo.repo;
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
if: always() && steps.calculate_score.outputs.close_pull_request == 'true'
uses: actions/github-script@v4
with:
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
github-token: ${{ secrets.TOKEN }}
script: |
const owner = context.repo.owner;
const repo = context.repo.repo;
Expand Down Expand Up @@ -110,4 +110,4 @@ jobs:
repo,
pull_number: pullRequestNumber,
state: 'closed'
});
});

0 comments on commit 0bc7a40

Please sign in to comment.