From 6cfee7800bba783c76acecd7912e59da1a360856 Mon Sep 17 00:00:00 2001 From: Barry Gordon Date: Wed, 23 Feb 2022 12:37:10 +0000 Subject: [PATCH] Avoid pushing to a detached head --- .github/workflows/dependabot-build.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/dependabot-build.yml b/.github/workflows/dependabot-build.yml index 5962e97..59b4855 100644 --- a/.github/workflows/dependabot-build.yml +++ b/.github/workflows/dependabot-build.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Fetch dependabot metadata id: dependabot-metadata - uses: dependabot/fetch-metadata@v1.2.0 + uses: dependabot/fetch-metadata@v1.2.1 with: github-token: "${{ secrets.GITHUB_TOKEN }}" build-dependabot-changes: @@ -26,8 +26,6 @@ jobs: if: ${{ needs.fetch-dependabot-metadata.outputs.dependency-type == 'direct:production' }} steps: - uses: actions/checkout@v2 - with: - ref: ${{ github.event.pull_request.head.sha }} - name: Read .nvmrc id: nvm