diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml index 3e7c0832..5a96d68f 100644 --- a/.github/workflows/pull-requests.yml +++ b/.github/workflows/pull-requests.yml @@ -26,7 +26,7 @@ jobs: run: ./gradlew test build cyclonedxBom - 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 @@ -37,7 +37,7 @@ jobs: byosbom: build/reports/application.cdx.json - name: Deploy to dev-fss uses: nais/deploy/actions/deploy@v2 - if: github.triggering_actor != 'dependabot[bot]' + if: github.event.pull_request.user.login != 'dependabot[bot]' env: CLUSTER: dev-fss RESOURCE: nais/dev-fss.yml