diff --git a/.github/workflows/renovate-auto-approve.yml b/.github/workflows/renovate-auto-approve.yml new file mode 100644 index 00000000..f1935807 --- /dev/null +++ b/.github/workflows/renovate-auto-approve.yml @@ -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}} diff --git a/CODEOWNERS b/CODEOWNERS index 814a63bf..55263de0 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1 +1 @@ -* @cainelli @almack-gyg @x-way +* @cainelli @x-way @gygrobot