Correctly checkout the repository to use the local action

This commit is contained in:
Barry Gordon
2022-04-20 09:59:02 +01:00
parent ba38fe5cb2
commit 9a3ea4fc12

View File

@@ -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: ./