Skip to content

Commit

Permalink
auto approve passing
Browse files Browse the repository at this point in the history
  • Loading branch information
pjaudiomv committed May 28, 2024
1 parent 59274b2 commit a673f26
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
- name: checkout
uses: actions/checkout@v4

- name: node 18
- name: node 20
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: build
run: |
Expand All @@ -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 a673f26

Please sign in to comment.