Skip to content

Commit 132b9ef

Browse files
authored
Update slack-webhook.yaml
1 parent 50cd405 commit 132b9ef

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/slack-webhook.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,8 @@ jobs:
1111

1212
env:
1313
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
14-
uses: slackapi/slack-github-action@v2.0.0
14+
uses: act10ns/slack@v2.1.0
1515
with:
1616
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
17+
status: ${{ job.status }}
1718
webhook-type: incoming-webhook
18-
payload: |
19-
text: "*GitHub Action build result*: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
20-
blocks:
21-
- type: "section"
22-
text:
23-
type: "mrkdwn"
24-
text: "GitHub Action build result: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"

0 commit comments

Comments
 (0)