From 52ba14405bed0759f992b4c34f8cef4659e39cb3 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Sun, 21 Jul 2024 21:43:40 +0200 Subject: [PATCH] tools: fix `SLACK_TITLE` in invalid commit workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/53912 Reviewed-By: Michaƫl Zasso Reviewed-By: Luigi Pinca --- .github/workflows/notify-on-push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/notify-on-push.yml b/.github/workflows/notify-on-push.yml index efb6bc1a173..725c1c2dc5a 100644 --- a/.github/workflows/notify-on-push.yml +++ b/.github/workflows/notify-on-push.yml @@ -60,7 +60,7 @@ jobs: env: SLACK_COLOR: '#DE512A' SLACK_ICON: https://github.com/nodejs.png?size=48 - SLACK_TITLE: Invalid commit was pushed to ${{ github.repository.default_branch }} + SLACK_TITLE: Invalid commit was pushed to ${{ github.ref }} SLACK_MESSAGE: | A commit with an invalid message was pushed to by .