Skip to content

Commit

Permalink
Properly pass outputs between jobs for dependabot builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Barry Gordon committed Feb 23, 2022
1 parent cf096fd commit 2e28d08
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/dependabot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
fetch-dependabot-metadata:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
# Map the step output to a job output for subsequent jobs
outputs:
dependency-type: ${{ steps.dependabot-metadata.outputs.dependency-type }}
steps:
- name: Fetch dependabot metadata
id: dependabot-metadata
Expand Down

0 comments on commit 2e28d08

Please sign in to comment.