diff --git a/.github/workflows/dependabot-build.yml b/.github/workflows/dependabot-build.yml index 5aea933..4c5598c 100644 --- a/.github/workflows/dependabot-build.yml +++ b/.github/workflows/dependabot-build.yml @@ -26,8 +26,8 @@ jobs: build-dependabot-changes: 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.outputs.package-ecosystem == 'docker' || ( needs.fetch-dependabot-metadata.outputs.package-ecosystem == 'npm_and_yarn' && needs.fetch-dependabot-metadata.outputs.dependency-type == 'direct:production' ) + # We only need to build the dist/ folder if the PR relates to Docker or an npm dependency + if: needs.fetch-dependabot-metadata.outputs.package-ecosystem == 'docker' || needs.fetch-dependabot-metadata.outputs.package-ecosystem == 'npm_and_yarn' steps: # Check out using a PAT so any pushed changes will trigger checkruns - uses: actions/checkout@v3