From 204ec255b85370ff4a65ed73b148dba8bf29eeae Mon Sep 17 00:00:00 2001 From: Mark Lee Date: Sun, 27 Feb 2022 01:11:07 -0800 Subject: [PATCH] ci: display auth state --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a2757e403..71dd805cc9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -141,7 +141,9 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Auto-merge devDependency or non-major dependency PR if: ${{ steps.dependabot-metadata.outputs.dependency-type || steps.dependabot-metadata.outputs.update-type == 'version-update:semver-minor' || steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch' }} - run: gh pr merge --admin --squash "$PR_URL" + run: | + gh auth status + gh pr merge --admin --squash "$PR_URL" env: PR_URL: ${{ github.event.pull_request.html_url }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}