diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 19a5ba7..20b2acf 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -45,12 +45,12 @@ jobs: id: dependabot-metadata uses: dependabot/fetch-metadata@v1.1.1 with: - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + github-token: "${{ secrets.GITHUB_TOKEN }}" - name: Approve a PR run: gh pr review --approve "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.GITHUB_TOKEN }} - name: Enable auto-merge for Dependabot PRs if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }} run: gh pr merge --auto --squash "$PR_URL"