We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 737ffc5 commit 350dcb6Copy full SHA for 350dcb6
.github/workflows/slack-webhook.yaml
@@ -0,0 +1,12 @@
1
+- name: Post a message in a channel
2
+ uses: slackapi/[email protected]
3
+ with:
4
+ webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
5
+ webhook-type: incoming-webhook
6
+ payload: |
7
+ text: "*GitHub Action build result*: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
8
+ blocks:
9
+ - type: "section"
10
+ text:
11
+ type: "mrkdwn"
12
+ text: "GitHub Action build result: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
0 commit comments