Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit 6386352

Browse files
committed
fix: name of pipeline
1 parent e1fc0d8 commit 6386352

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/php.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build & test
1+
name: CI/CD
22

33
on:
44
push:
@@ -33,7 +33,7 @@ jobs:
3333
run: composer run-script test
3434

3535
- name: Send Slack notification
36-
uses: 8398a7/action-slack@v2
36+
uses: 8398a7/action-slack@v3.10.0
3737
if: failure()
3838
with:
3939
status: ${{ job.status }}
@@ -59,3 +59,14 @@ jobs:
5959
commit_user_name: "API-Client GitHub Actions Bot"
6060
commit_user_email: "[email protected]"
6161
commit_author: "API-Client GitHub Actions Bot <[email protected]>"
62+
63+
- name: Send Slack notification
64+
uses: 8398a7/[email protected]
65+
if: success()
66+
with:
67+
status: ${{ job.status }}
68+
author_name: ${{ github.actor }}
69+
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
70+
env:
71+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
72+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)