1616 check_code : # Validates the code
1717 runs-on : ubuntu-latest
1818 steps :
19- - uses : actions/checkout@v3
19+ - uses : actions/checkout@v4
2020
2121 - name : Set up JDK
2222 uses : actions/setup-java@v3
5252 outputs :
5353 upload_url : ${{ steps.create_release.outputs.upload_url }}
5454 steps :
55- - uses : actions/checkout@v3
55+ - uses : actions/checkout@v4
5656
5757 - name : Configure Git
5858 run : |
@@ -111,7 +111,7 @@ jobs:
111111 runs-on : ubuntu-latest
112112 needs : [prepare_release]
113113 steps :
114- - uses : actions/checkout@v3
114+ - uses : actions/checkout@v4
115115
116116 - name : Init Git and pull
117117 run : |
@@ -143,7 +143,7 @@ jobs:
143143 runs-on : ubuntu-latest
144144 needs : [prepare_release]
145145 steps :
146- - uses : actions/checkout@v3
146+ - uses : actions/checkout@v4
147147
148148 - name : Init Git and pull
149149 run : |
@@ -197,7 +197,7 @@ jobs:
197197 runs-on : ubuntu-latest
198198 needs : [publish_central]
199199 steps :
200- - uses : actions/checkout@v3
200+ - uses : actions/checkout@v4
201201
202202 - name : Init Git and pull
203203 run : |
@@ -223,9 +223,12 @@ jobs:
223223 git push origin
224224
225225 - name : pull-request
226- uses : repo-sync/pull-request@v2
227- with :
228- destination_branch : " develop"
229- pr_title : " Sync back"
230- pr_body : " An automated PR to sync changes back"
231-
226+ env :
227+ GH_TOKEN : ${{ github.token }}
228+ run : |
229+ gh_pr_up() {
230+ gh pr create "$@" || gh pr edit "$@"
231+ }
232+ gh_pr_up -B "develop" \
233+ --title "Sync back" \
234+ --body "An automated PR to sync changes back"
0 commit comments