File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -294,8 +294,8 @@ jobs:
294294 allow-prereleases : true
295295 - run : ${{ matrix.run }}
296296 if : github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id
297- env :
298- GITHUB_TOKEN : ${{ secrets.GH_USER_TOKEN }}
297+ # env:
298+ # GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
299299 - name : Generate commit message if not set
300300 if : env.COMMIT_MSG == '' && (github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id)
301301 run : |
@@ -305,7 +305,7 @@ jobs:
305305 # Creates a PR or update the Action's existing PR, or
306306 # no-op if the base branch is already up-to-date.
307307 with :
308- token : ${{ secrets.GH_USER_TOKEN }}
308+ # token: ${{ secrets.GH_USER_TOKEN }}
309309 branch : actions/tools-update-${{ matrix.id }} # Custom branch *just* for this Action.
310310 delete-branch : true
311311 commit-message : ${{ env.COMMIT_MSG }}
Original file line number Diff line number Diff line change 11#! /bin/sh
2- set -e
2+ set -ex
33# Shell script to update inspector_protocol in the source tree to the version same with V8's.
44
55BASE_DIR=$( cd " $( dirname " $0 " ) /../.." && pwd)
66DEPS_DIR=" $BASE_DIR /deps"
77
8+ git status --porcelain
9+
810# shellcheck disable=SC1091
911. " $BASE_DIR /tools/dep_updaters/utils.sh"
1012
Original file line number Diff line number Diff line change @@ -43,7 +43,9 @@ def CheckRepoIsClean(path):
4343 # If path isn't a git repo, this will throw and exception.
4444 # And if it is a git repo and 'git status' has anything interesting to say,
4545 # then it's not clean (uncommitted files etc.)
46- if len (RunCmd (['git' , 'status' , '--porcelain' ])) != 0 :
46+ res = RunCmd (['git' , 'status' , '--porcelain' ])
47+ print (f"result: { res } , len: { len (res )} " )
48+ if len (res ) != 0 :
4749 raise Exception ('%s is not a clean git repo (run git status)' % path )
4850
4951
@@ -125,10 +127,6 @@ def main(argv):
125127 CheckRepoIsClean (upstream )
126128 CheckRepoIsClean (downstream )
127129 CheckRepoIsInspectorProtocolCheckout (upstream )
128- # Check that the destination Git repo isn't at the main branch - it's
129- # generally a bad idea to check into the main branch, so we catch this
130- # common pilot error here early.
131- CheckRepoIsNotAtMainBranch (downstream )
132130
133131 # Read V8's inspector_protocol revision
134132 v8_ip_revision = ReadV8IPRevision (downstream )
You can’t perform that action at this time.
0 commit comments