Skip to content

Commit 43afcbf

Browse files
aduh95RafaelGSS
authored andcommitted
tools: fix SLACK_TITLE in invalid commit workflow
PR-URL: #53912 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 86fa46d commit 43afcbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/notify-on-push.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
env:
6161
SLACK_COLOR: '#DE512A'
6262
SLACK_ICON: https://github.com/nodejs.png?size=48
63-
SLACK_TITLE: Invalid commit was pushed to ${{ github.repository.default_branch }}
63+
SLACK_TITLE: Invalid commit was pushed to ${{ github.ref }}
6464
SLACK_MESSAGE: |
6565
<!here> A commit with an invalid message was pushed to <https://github.com/${{ github.repository }}/tree/${{ github.ref_name }}|${{ github.repository }}@${{ github.ref_name }}> by <https://github.com/${{ github.actor }}|${{ github.actor }}>.
6666

0 commit comments

Comments
 (0)