File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 with :
1414 go-version : 1.14
1515
16- - name : Setup git-appraise and the pr mirror
16+ - name : Setup go modules
1717 run : |
18+ export GO111MODULE=on
19+ go mod init workflow || true
1820 go get github.com/google/git-appraise/git-appraise
1921 go get github.com/google/git-pull-request-mirror/batch
2022
@@ -25,10 +27,12 @@ jobs:
2527
2628 - name : Fetch upstream refs
2729 run : |
30+ git fetch origin --unshallow
2831 git fetch origin '+refs/heads/*:refs/remotes/origin/*'
29- git fetch origin '+refs/heads/master:refs/heads/master' || true
32+ git fetch origin '+refs/heads/master:refs/heads/master' || git pull
3033 git fetch origin '+refs/tags/*:refs/tags/*'
3134 git fetch origin '+refs/pull/*:refs/pull/*'
35+ git fetch origin '+refs/devtools/*:refs/devtools/*'
3236
3337 - name : Pull existing reviews
3438 run : go run github.com/google/git-appraise/git-appraise pull
You can’t perform that action at this time.
0 commit comments