Skip to content

Commit

Permalink
auto approve passing renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
pjaudiomv committed May 13, 2024
1 parent b4b3545 commit 3f3f9c6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,15 @@ jobs:
- name: lint
run: |
npm run lint
- name: Approve PR
if: github.actor == 'renovate[bot]'
run: gh pr review ${{ github.event.pull_request.number }} --approve
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Merge PR
if: github.actor == 'renovate[bot]'
run: gh pr merge ${{ github.event.pull_request.number }} --merge
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3f3f9c6

Please sign in to comment.