diff --git a/.github/workflows/test-and-build-action.yaml b/.github/workflows/test-and-build-action.yaml index ef1e8ca..d059dad 100644 --- a/.github/workflows/test-and-build-action.yaml +++ b/.github/workflows/test-and-build-action.yaml @@ -45,7 +45,7 @@ jobs: coverage_pull_request: name: Coverage Report on pull request - if: ${{ github.event_name == 'pull_request' && !startsWith(github.ref, 'refs/heads/dependabot/')}} + if: ${{ github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'}} runs-on: ubuntu-latest needs: test steps: @@ -114,7 +114,7 @@ jobs: docker-build: name: Docker Build - if: ${{ github.event_name == 'push' && !startsWith(github.ref, 'refs/heads/dependabot/')}} + if: ${{ github.event_name == 'push' && github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'}} runs-on: ubuntu-latest needs: [build] steps: