aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormihaibuzgau <mihaibuzgau@users.noreply.github.com>2020-10-29 16:56:16 +0200
committerGitHub <noreply@github.com>2020-10-29 16:56:16 +0200
commitf24598729eda9a2dae8aee270ff119b1cc06c00f (patch)
treef6a569c3b604f67a32f058b68b9efcfca6e49922
parent4e5069ee7b7047df39067e8a124e11b03d8a7a23 (diff)
parentd1c690d556350521eb6fdd3a2411c5d6c721278f (diff)
downloadpuppet-augeas_core-f24598729eda9a2dae8aee270ff119b1cc06c00f.tar.gz
puppet-augeas_core-f24598729eda9a2dae8aee270ff119b1cc06c00f.tar.bz2
Merge pull request #34 from puppetlabs/MODULES-10815-add-slack-notification-job
(MODULES-10815) Add Slack notification job
-rw-r--r--.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml b/.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml
index bf07dc5..16d4500 100644
--- a/.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml
+++ b/.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml
@@ -56,3 +56,14 @@ jobs:
- name: Run unit tests
run: bundle exec rake parallel_spec
+
+ notify-via-slack:
+ name: Notify workflow conclusion via Slack
+ if: ${{ always() }}
+ needs: daily_unit_tests_with_nightly_puppet_gem
+ runs-on: 'ubuntu-latest'
+ steps:
+ - uses: luchihoratiu/notify-via-slack@main
+ with:
+ SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
+ SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}