Skip to content

Commit 1af780f

Browse files
committed
Fix brach name in slack notification
Use proper variable to get branch name.
1 parent 642b990 commit 1af780f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/matirx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- type: "section"
5757
text:
5858
type: "mrkdwn"
59-
text: "Workflow *${{ github.workflow }}* failed on branch *${{ github.head_ref }}*\n
59+
text: "Workflow *${{ github.workflow }}* failed on branch *${{ github.ref_name }}*\n
6060
Commit: <${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>\n
6161
\n
6262
<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View logs>"

0 commit comments

Comments
 (0)