mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
tools: do not flag force push as invalid message
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: https://github.com/nodejs/node/pull/65700 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
This commit is contained in:
1 file changed
+3
@@ -32,6 +32,9 @@ jobs:
|
||||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
|
||||
|
||||
validateCommitMessage:
|
||||
# If a commit is force-pushed out of the main branch, the `commits` array is
|
||||
# empty and there are no checks to run.
|
||||
if: github.event.commits[0]
|
||||
name: Notify on Push on `main` with invalid message
|
||||
# cannot use ubuntu-slim here because rtCamp/action-slack-notify is dockerized
|
||||
runs-on: ubuntu-24.04-arm
|
||||
|
||||
Reference in new issue
Block a user