Skip to content

Commit

Permalink
Enable auto-approve renovate PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
cainelli committed Jul 29, 2023
1 parent ca78174 commit 4b3c3ab
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/renovate-auto-approve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: auto-approve
on: pull_request

permissions:
pull-requests: write

jobs:
renovate-auto-approve:
runs-on: ubuntu-latest
if: ${{ github.actor == 'renovate[bot]'}}
steps:
- name: Approve Renovate PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GYGROBOT_TOKEN}}
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @cainelli @almack-gyg @x-way
* @cainelli @x-way @gygrobot

0 comments on commit 4b3c3ab

Please sign in to comment.