From fda2873c2bbf2c4f292c44f3bedcf1aae9b22e0f Mon Sep 17 00:00:00 2001 From: googlemaps-bot Date: Mon, 18 Mar 2024 14:03:25 +0000 Subject: [PATCH] chore: Synced local '.github/workflows/dependabot.yml' with remote '.github/workflows/dependabot.yml' --- .github/workflows/dependabot.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index 2cd852f8c..a27112110 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -12,8 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -## Automatically approves and merges dependabot PRs if tests pass. - name: Dependabot on: pull_request @@ -23,18 +21,15 @@ permissions: jobs: test: uses: ./.github/workflows/test.yml - dependabot: needs: test - if: ${{ github.actor == 'dependabot[bot]' }} - runs-on: ubuntu-latest + if: ${{ github.actor == 'dependabot[bot]' }} env: PR_URL: ${{github.event.pull_request.html_url}} GITHUB_TOKEN: ${{secrets.SYNCED_GITHUB_TOKEN_REPO}} steps: - - name: Approve + - name: approve run: gh pr review --approve "$PR_URL" - - - name: Merge + - name: merge run: gh pr merge --auto --squash --delete-branch "$PR_URL"