mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
tools: update main branch name
PR-URL: https://github.com/nodejs/node/pull/43440 Refs: https://github.com/nodejs/node/issues/33864 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Beth Griggs <bgriggs@redhat.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
@@ -7,7 +7,7 @@ REPOSITORY=$2
|
||||
shift 2
|
||||
|
||||
UPSTREAM=origin
|
||||
DEFAULT_BRANCH=master
|
||||
DEFAULT_BRANCH=main
|
||||
|
||||
COMMIT_QUEUE_LABEL="commit-queue"
|
||||
COMMIT_QUEUE_FAILED_LABEL="commit-queue-failed"
|
||||
@@ -86,7 +86,7 @@ for pr in "$@"; do
|
||||
commit_title=$(git log -1 --pretty='format:%s')
|
||||
commit_body=$(git log -1 --pretty='format:%b')
|
||||
commit_head=$(grep 'Fetched commits as' output | cut -d. -f3 | xargs git rev-parse)
|
||||
|
||||
|
||||
jq -n \
|
||||
--arg title "${commit_title}" \
|
||||
--arg body "${commit_body}" \
|
||||
|
||||
Reference in New Issue
Block a user