From a8272d60bf3b33f6c6984ee9461e6bf45764d986 Mon Sep 17 00:00:00 2001 From: Barry Gordon Date: Wed, 23 Feb 2022 13:17:05 +0000 Subject: [PATCH] Properly fix the detached head state on push --- .github/workflows/dependabot-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/dependabot-build.yml b/.github/workflows/dependabot-build.yml index 8cf7828..59e8308 100644 --- a/.github/workflows/dependabot-build.yml +++ b/.github/workflows/dependabot-build.yml @@ -26,6 +26,8 @@ jobs: if: ${{ needs.fetch-dependabot-metadata.outputs.dependency-type == 'direct:production' }} steps: - uses: actions/checkout@v2 + with: + ref: ${{ github.event.pull_request.head.ref }} - name: Read .nvmrc id: nvm