From 0d9fe441e8edc8c6555a7554ccfdbe2b186a962a Mon Sep 17 00:00:00 2001 From: William Brawner Date: Sat, 30 Sep 2023 21:45:32 -0600 Subject: [PATCH] Enable automerge for PRs from me --- .github/workflows/android.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 431762b..27dbe17 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -18,6 +18,12 @@ jobs: java-version: '17' - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1 + - name: Enable auto-merge + if: ${{ github.event_name == 'pull_request' && github.actor == 'wbrawner' }} + run: gh pr merge --auto --merge "$PR_URL" + env: + PR_URL: ${{github.event.pull_request.html_url}} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} unit_test: name: Run Unit Tests runs-on: ubuntu-latest