We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a45b1b commit 221e5f7Copy full SHA for 221e5f7
1 file changed
.github/workflows/test-slack.yml
@@ -0,0 +1,28 @@
1
+name: Test Slack Notification
2
+on:
3
+ workflow_dispatch:
4
+ inputs:
5
+ status:
6
+ description: 'Notification status to test'
7
+ required: false
8
+ type: choice
9
+ options:
10
+ - success
11
+ - failure
12
+ default: success
13
+
14
+jobs:
15
+ test-slack:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+ - name: Send test Slack notification
20
+ uses: ./.github/actions/notify-slack
21
+ with:
22
+ status: ${{ inputs.status }}
23
+ workflow-name: Test Slack Notification
24
+ cluster-name: test-cluster
25
+ slack-webhook-urls: ${{ secrets.SLACK_WEBHOOK_URLS }}
26
+ workflow-url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
27
+ branch-name: ${{ github.ref_name }}
28
+ commit-sha: ${{ github.sha }}
0 commit comments