Skip to content

Commit

Permalink
Merge pull request ecmwf#134 from ecmwf/feature/reduce-ci-notify
Browse files Browse the repository at this point in the history
Looks good to me
thanks @mcakircali and @wdeconinck
  • Loading branch information
danovaro authored Jul 5, 2024
2 parents 27e0f2a + a207631 commit b21f2b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ jobs:
if: ${{ always() && !github.event.pull_request.head.repo.fork && (github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci') }}
steps:
- name: Trigger Teams notification
if: failure() && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop')
uses: ecmwf-actions/notify-teams@v1
with:
incoming_webhook: ${{ secrets.MS_TEAMS_INCOMING_WEBHOOK }}
needs_context: ${{ toJSON(needs) }}
notify_on: |
failure

0 comments on commit b21f2b9

Please sign in to comment.