Skip to content

Commit e1e6e13

Browse files
authored
Merge pull request #71 from mhashizume/MODULES-11422/main/dispatch-workflow
(MODULES-11422) Replace dispatch workflow
2 parents 8d6dce3 + 4ce2dc1 commit e1e6e13

File tree

2 files changed

+22
-147
lines changed

2 files changed

+22
-147
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: '[Daily] Unit Tests with nightly Puppet gem'
3+
4+
on:
5+
schedule:
6+
- cron: '0 5 * * 1-5'
7+
workflow_dispatch:
8+
9+
jobs:
10+
daily_unit_tests_with_nightly_puppet_gem:
11+
uses: "puppetlabs/phoenix-github-actions/.github/workflows/unit_tests_with_nightly_puppet_gem.yaml@main"
12+
13+
notify-via-slack:
14+
name: Notify workflow conclusion via Slack
15+
if: ${{ always() }}
16+
needs: daily_unit_tests_with_nightly_puppet_gem
17+
runs-on: 'ubuntu-latest'
18+
steps:
19+
- uses: luchihoratiu/notify-via-slack@main
20+
with:
21+
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
22+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

.github/workflows/dispatch_unit_tests_with_nightly_puppet_gem.yaml

Lines changed: 0 additions & 147 deletions
This file was deleted.

0 commit comments

Comments
 (0)