Skip to content

Commit b7c0057

Browse files
committed
add slack notif
1 parent 476ce4c commit b7c0057

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/notif-push-to-slack.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
notify:
99
runs-on: ubuntu-latest
10-
if: github.event.pusher.name == 'pdesmarets'
10+
if: github.event.pusher.name == '${{ secrets.COMMIT_PUSH_SOURCE }}'
1111
env:
1212
AUTHOR: ${{ github.event.pusher.name }}
1313
steps:
@@ -24,7 +24,7 @@ jobs:
2424
"type": "section",
2525
"text": {
2626
"type": "mrkdwn",
27-
"text": "Direct push to develop: ${{ github.event.head_commit.url }}"
27+
"text": "Push: ${{ github.event.head_commit.url }}"
2828
}
2929
}
3030
]

0 commit comments

Comments
 (0)