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 }}