Skip to content

Commit

Permalink
Make Slack message optional for manual dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmogan committed Oct 3, 2024
1 parent 7123618 commit c611c43
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/nightly-v5-integtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:


workflow_dispatch:
inputs:
send-slack-message:
description: 'Send message to daq-release-notifications on failure?'
default: 'no'


jobs:
Expand Down Expand Up @@ -105,7 +109,7 @@ jobs:
/home/nfs/dunedaq/kill_stale_gunicorn_processes.sh
send_slack_message:
if: failure()
if: failure() || (github.event_name == 'workflow_dispatch' && github.event.inputs.send-slack-message == 'yes')
runs-on: daq
name: send slack message
needs: integration_tests
Expand Down

0 comments on commit c611c43

Please sign in to comment.