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

Commit

Permalink
ci: pr auto approve: Via @liceoa
Browse files Browse the repository at this point in the history
  • Loading branch information
John Andersen authored and pdxjohnny committed Jul 12, 2024
1 parent 52cdc71 commit 796b77b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/00_pr_auto_approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ jobs:
approve-pr:
runs-on: ubuntu-latest
permissions:
pull-requests: write
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) }}
steps:
- name: Harden Runner
Expand All @@ -46,9 +44,10 @@ jobs:
with:
review-message: "LGTM"
pull-request-number: ${{ github.event.client_payload.pull_request.number }}
github-token: ${{ secrets.LICEOA_PAT }}

- env:
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ secrets.LICEOA_PAT }}
PULL_REQUEST_NUMBER: ${{ github.event.client_payload.pull_request.number }}
run: |
set -x
Expand Down

0 comments on commit 796b77b

Please sign in to comment.