From 9c975f79f0470e9379fa716a384c1adccc6f089e Mon Sep 17 00:00:00 2001 From: Debadree Chatterjee Date: Sat, 1 Apr 2023 15:15:05 +0530 Subject: [PATCH] tools: use ref_name to get branch pushed on MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/47358 Reviewed-By: Antoine du Hamel Reviewed-By: Richard Lau Reviewed-By: Michaƫl Zasso Reviewed-By: Rich Trott --- .github/workflows/notify-on-push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/notify-on-push.yml b/.github/workflows/notify-on-push.yml index 3fc40d2f18aff8..d1899984527ba4 100644 --- a/.github/workflows/notify-on-push.yml +++ b/.github/workflows/notify-on-push.yml @@ -20,7 +20,7 @@ jobs: SLACK_ICON: https://github.com/nodejs.png?size=48 SLACK_TITLE: ${{ github.actor }} force-pushed to ${{ github.ref }} SLACK_MESSAGE: | - @here A commit was force-pushed to by + @here A commit was force-pushed to by Before: After: @@ -62,7 +62,7 @@ jobs: SLACK_ICON: https://github.com/nodejs.png?size=48 SLACK_TITLE: Invalid commit was pushed to ${{ github.repository.default_branch }} SLACK_MESSAGE: | - @here A commit lacking the expected metadata was pushed to by . + @here A commit lacking the expected metadata was pushed to by . Before: After: