mirror of
https://github.com/dependabot/fetch-metadata.git
synced 2026-03-12 18:07:12 -04:00
Correctly checkout the repository to use the local action
This commit is contained in:
5
.github/workflows/dependabot-build.yml
vendored
5
.github/workflows/dependabot-build.yml
vendored
@@ -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: ./
|
||||
|
||||
Reference in New Issue
Block a user