diff options
author | Luchian Nemes <luchian.nemes@puppet.com> | 2020-10-29 09:49:51 +0200 |
---|---|---|
committer | Luchian Nemes <luchian.nemes@puppet.com> | 2020-10-29 15:08:31 +0200 |
commit | 84a0f66553d8ba095e11edcbcd9cff8867064b7e (patch) | |
tree | 731b2f76927786e85ebe4e3d532a52b58a5ee1b0 | |
parent | 838e42f7f760f1bef7b9064271223226d0925f71 (diff) | |
download | puppet-sshkeys_core-84a0f66553d8ba095e11edcbcd9cff8867064b7e.tar.gz puppet-sshkeys_core-84a0f66553d8ba095e11edcbcd9cff8867064b7e.tar.bz2 |
(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.
-rw-r--r-- | .github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml | 11 |
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 }} |