File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ REPOSITORY=$2
77GITHUB_TOKEN=$3
88shift 3
99
10+ UPSTREAM=origin
11+ DEFAULT_BRANCH=master
12+
1013API_URL=https://api.github.com
1114COMMIT_QUEUE_LABEL=' commit-queue'
1215COMMIT_QUEUE_FAILED_LABEL=' commit-queue-failed'
@@ -77,9 +80,12 @@ for pr in "$@"; do
7780 git node land --abort --yes
7881 else
7982 rm output
80- git push origin master
8183
82- gitHubCurl " $( commentsUrl " $pr " ) " POST --data ' {"body": "Landed in ' " $( git rev-parse HEAD) " ' "}'
84+ commits=" $( git rev-parse $UPSTREAM /$DEFAULT_BRANCH ) ...$( git rev-parse HEAD) "
85+
86+ git push $UPSTREAM $DEFAULT_BRANCH
87+
88+ gitHubCurl " $( commentsUrl " $pr " ) " POST --data ' {"body": "Landed in ' " $commits " ' "}'
8389
8490 gitHubCurl " $( issueUrl " $pr " ) " PATCH --data ' {"state": "closed"}'
8591 fi
You can’t perform that action at this time.
0 commit comments