From 6a0dbecdba755b2dde376f280ba2cdae7347fb1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Colombaro?= Date: Tue, 14 Sep 2021 23:44:17 +0200 Subject: [PATCH] Enable auto-merge for dependabot --- .github/workflows/dependabot.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index 5d55208..95d7df1 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -19,14 +19,14 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Approve a PR - if: steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major'}} + if: steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' run: gh pr review --approve "$PR_URL" env: PR_URL: ${{ github.event.pull_request.html_url }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Enable auto-merge for Dependabot PRs - run: gh pr merge --auto --merge "$PR_URL" + run: gh pr merge --auto "$PR_URL" env: - PR_URL: ${{github.event.pull_request.html_url}} + PR_URL: ${{ github.event.pull_request.html_url }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}