File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747
4848 - name : Create Kubernetes cluster
4949 id : kind
50- uses : engineerd/setup- kind@aa272fe2a7309878ffc2a81c56cfe3ef108ae7d0 # v0.5 .0
50+ uses : helm/ kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14 .0
5151 with :
5252 version : v0.31.0
5353
Original file line number Diff line number Diff line change 4040 git config --global user.email "${GITHUB_USER}@appscode.com"
4141 git remote set-url origin https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
4242
43- - name : Install GitHub CLI
44- run : |
45- curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.1
46- sudo mv bin/hub /usr/local/bin
47-
4843 - name : Generate GitHub App token
4944 id : app-token
5045 if : |
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ pr_branch=${GITHUB_REPOSITORY}@${GITHUB_SHA:0:8}
3636git checkout -b $pr_branch
3737git commit -a -s -m " Update docs for $pr_branch "
3838git push -u origin HEAD
39- hub pull-request \
40- --labels automerge \
41- --message " Update docs for $pr_branch " \
42- --message " $( git show -s --format=%b) "
39+ gh pr create \
40+ --label automerge \
41+ --title " Update docs for $pr_branch " \
42+ --body " $( git show -s --format=%b) "
Original file line number Diff line number Diff line change @@ -69,4 +69,4 @@ case $GITHUB_BASE_REF in
6969 ;;
7070esac
7171
72- hub api " $api_url " -f body=" $msg "
72+ gh api " $api_url " -f body=" $msg "
You can’t perform that action at this time.
0 commit comments