Skip to content

Commit

Permalink
Fix invalid condition on dependabot builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Barry Gordon committed Apr 20, 2022
1 parent fad6596 commit c3a09b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
needs: [fetch-dependabot-metadata]
# We only need to build the dist/ folder if the PR relates to Docker or a production npm dependency, otherwise we don't expect changes.
if: needs.fetch-dependabot-metadata.output.package-ecosystem == 'docker' || ( needs.fetch-dependabot-metadata.output.package-ecosystem == 'npm_and_yarn' && needs.fetch-dependabot-metadata.outputs.dependency-type == 'direct:production' )
if: needs.fetch-dependabot-metadata.outputs.package-ecosystem == 'docker' || ( needs.fetch-dependabot-metadata.outputs.package-ecosystem == 'npm_and_yarn' && needs.fetch-dependabot-metadata.outputs.dependency-type == 'direct:production' )
steps:
# Check out using a PAT so any pushed changes will trigger checkruns
- uses: actions/checkout@v3
Expand Down

0 comments on commit c3a09b0

Please sign in to comment.