diff --git a/.github/workflows/pr-build-merge.yaml b/.github/workflows/pr-build-merge.yaml index b298b84..f6afe58 100644 --- a/.github/workflows/pr-build-merge.yaml +++ b/.github/workflows/pr-build-merge.yaml @@ -125,7 +125,7 @@ jobs: run: uv run pytest - name: Compute added/removed lines for notification - if: ${{ github.event_name == 'pull_request' }} + if: ${{ github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' }} id: diff run: | PR_DATA=$(gh pr view "${{ github.event.pull_request.number }}" --json additions,deletions -q '.') @@ -137,7 +137,7 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Notify Microsoft Teams - if: ${{ github.event_name == 'pull_request' }} + if: ${{ github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' }} uses: softwareone-platform/notify-pr-teams-action@v4 with: webhook_url: ${{ secrets.TEAMS_WEBHOOK_URL }}