diff --git a/.github/workflows/build-and-deploy-preprod.yml b/.github/workflows/build-and-deploy-preprod.yml index f8dd622a..929cdb8a 100644 --- a/.github/workflows/build-and-deploy-preprod.yml +++ b/.github/workflows/build-and-deploy-preprod.yml @@ -28,7 +28,7 @@ jobs: run: mvn -B --no-transfer-progress package verify --settings .m2/maven-settings.xml --file pom.xml - uses: nais/docker-build-push@v0 id: docker-push - if: github.triggering_actor != 'dependabot[bot]' + if: github.event.pull_request.user.login != 'dependabot[bot]' with: team: teamfamilie push_image: true @@ -41,7 +41,7 @@ jobs: image: ${{ steps.docker-push.outputs.image }} deploy: name: Deploy to FSS - if: github.triggering_actor != 'dependabot[bot]' + if: github.event.pull_request.user.login != 'dependabot[bot]' needs: build runs-on: ubuntu-latest permissions: