From 9a3ea4fc121e0070da6c436c3a40566b010d7632 Mon Sep 17 00:00:00 2001 From: Barry Gordon Date: Wed, 20 Apr 2022 09:59:02 +0100 Subject: [PATCH] Correctly checkout the repository to use the local action --- .github/workflows/dependabot-build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/dependabot-build.yml b/.github/workflows/dependabot-build.yml index 52f56c0..8bdd7a5 100644 --- a/.github/workflows/dependabot-build.yml +++ b/.github/workflows/dependabot-build.yml @@ -18,6 +18,11 @@ jobs: dependency-type: ${{ steps.dependabot-metadata.outputs.dependency-type }} package-ecosystem: ${{ steps.dependabot-metadata.outputs.package-ecosystem }} steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.ref }} + token: ${{ secrets.GITHUB_TOKEN }} + - name: Fetch dependabot metadata id: dependabot-metadata uses: ./