Skip to content

Commit 84a0f66

Browse files
committed
(MODULES-10815) Add Slack notification job
This commit adds a job to the `[Daily] Unit Tests with nightly Puppet gem` workflow that notifies us the conclusion of it via Slack.
1 parent 838e42f commit 84a0f66

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,14 @@ jobs:
5656
5757
- name: Run unit tests
5858
run: bundle exec rake parallel_spec
59+
60+
notify-via-slack:
61+
name: Notify workflow conclusion via Slack
62+
if: ${{ always() }}
63+
needs: daily_unit_tests_with_nightly_puppet_gem
64+
runs-on: 'ubuntu-latest'
65+
steps:
66+
- uses: luchihoratiu/notify-via-slack@main
67+
with:
68+
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
69+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 commit comments

Comments
 (0)