Skip to content
This repository was archived by the owner on Aug 25, 2024. It is now read-only.

Commit 796b77b

Browse files
John Andersenpdxjohnny
authored andcommitted
ci: pr auto approve: Via @liceoa
1 parent 52cdc71 commit 796b77b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/00_pr_auto_approve.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ jobs:
3333
3434
approve-pr:
3535
runs-on: ubuntu-latest
36-
permissions:
37-
pull-requests: write
3836
if: ${{ github.event_name == 'repository_dispatch' && contains(fromJson('["github-actions[bot]", "pdxjohnny"]'), github.event.sender.login) && contains(fromJson('["dependabot[bot]", "github-actions[bot]", "pdxjohnny"]'), github.event.client_payload.actor) }}
3937
steps:
4038
- name: Harden Runner
@@ -46,9 +44,10 @@ jobs:
4644
with:
4745
review-message: "LGTM"
4846
pull-request-number: ${{ github.event.client_payload.pull_request.number }}
47+
github-token: ${{ secrets.LICEOA_PAT }}
4948

5049
- env:
51-
GH_TOKEN: ${{ github.token }}
50+
GH_TOKEN: ${{ secrets.LICEOA_PAT }}
5251
PULL_REQUEST_NUMBER: ${{ github.event.client_payload.pull_request.number }}
5352
run: |
5453
set -x

0 commit comments

Comments
 (0)