Skip to content

Commit

Permalink
don't notify manual runs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kishan-Dhakan authored Oct 13, 2023
1 parent e41e003 commit d710cf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nightly-challenge-sprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
notify_slack_on_failure:
runs-on: [self-hosted, arc-runner]
needs: [system-tests]
if: always() && (needs.system-tests.result == 'failure')
if: always() && github.event_name == 'schedule' && (needs.system-tests.result == 'failure')
steps:
- name: "Notify Slack"
run: |
Expand All @@ -73,7 +73,7 @@ jobs:
notify_slack_on_success:
runs-on: [self-hosted, arc-runner]
needs: [system-tests]
if: always() && (needs.system-tests.result == 'success')
if: always() && github.event_name == 'schedule' && (needs.system-tests.result == 'success')
steps:
- name: "Notify Slack"
run: |
Expand Down

0 comments on commit d710cf9

Please sign in to comment.