@@ -13,15 +13,18 @@ jobs:
1313 runs-on : ubuntu-latest
1414 steps :
1515 - name : Checkout Specification Repo
16- uses : actions/checkout@v2
16+ uses : actions/checkout@v4
1717 with :
1818 path : ' DocumentReader-web-openapi'
19+ ref : ' develop'
1920 - name : Checkout JS Client Repo
20- uses : actions/checkout@v2
21+ uses : actions/checkout@v4
2122 with :
2223 repository : ' regulaforensics/DocumentReader-web-js-client'
2324 token : ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}
2425 path : ' js-client'
26+ ref : ' develop'
27+
2528 - name : Update Model According To Specification
2629 working-directory : js-client
2730 run : |
3639 git add --all
3740 git commit -m "${{ github.event.inputs.title }}" -a
3841 git push --set-upstream origin ${GITHUB_SHA::8}
39- gh pr create --fill --draft
42+ gh pr create --fill --draft --base develop
4043 env :
4144 GITHUB_TOKEN : ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}
4245
@@ -49,15 +52,17 @@ jobs:
4952 java-version : 11
5053 java-package : jdk
5154 - name : Checkout Specification Repo
52- uses : actions/checkout@v2
55+ uses : actions/checkout@v4
5356 with :
5457 path : ' DocumentReader-web-openapi'
58+ ref : ' develop'
5559 - name : Checkout Java Client Repo
56- uses : actions/checkout@v2
60+ uses : actions/checkout@v4
5761 with :
5862 repository : ' regulaforensics/DocumentReader-web-java-client'
5963 token : ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}
6064 path : ' java-client'
65+ ref : ' develop'
6166 - name : Update Model According To Specification
6267 working-directory : java-client
6368 run : |
@@ -71,23 +76,25 @@ jobs:
7176 git add --all
7277 git commit -m "${{ github.event.inputs.title }}" -a
7378 git push --set-upstream origin ${GITHUB_SHA::8}
74- gh pr create --fill --draft
79+ gh pr create --fill --draft --base develop
7580 env :
7681 GITHUB_TOKEN : ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}
7782
7883 update-python-client :
7984 runs-on : ubuntu-latest
8085 steps :
8186 - name : Checkout Specification Repo
82- uses : actions/checkout@v2
87+ uses : actions/checkout@v4
8388 with :
8489 path : ' DocumentReader-web-openapi'
90+ ref : ' develop'
8591 - name : Checkout Python Client Repo
86- uses : actions/checkout@v2
92+ uses : actions/checkout@v4
8793 with :
8894 repository : ' regulaforensics/DocumentReader-web-python-client'
8995 token : ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}
9096 path : ' python-client'
97+ ref : ' develop'
9198 - name : Update Model According To Specification
9299 working-directory : python-client
93100 run : |
@@ -101,23 +108,25 @@ jobs:
101108 git add --all
102109 git commit -m "${{ github.event.inputs.title }}" -a
103110 git push --set-upstream origin ${GITHUB_SHA::8}
104- gh pr create --fill --draft
111+ gh pr create --fill --draft --base develop
105112 env :
106113 GITHUB_TOKEN : ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}
107114
108115 update-csharp-client :
109116 runs-on : ubuntu-latest
110117 steps :
111118 - name : Checkout Specification Repo
112- uses : actions/checkout@v2
119+ uses : actions/checkout@v4
113120 with :
114121 path : ' DocumentReader-web-openapi'
122+ ref : ' develop'
115123 - name : Checkout C# Client Repo
116- uses : actions/checkout@v2
124+ uses : actions/checkout@v4
117125 with :
118126 repository : ' regulaforensics/DocumentReader-web-csharp-client'
119127 token : ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}
120128 path : ' csharp-client'
129+ ref : ' develop'
121130 - name : Update Model According To Specification
122131 working-directory : csharp-client
123132 run : |
@@ -132,6 +141,6 @@ jobs:
132141 git add --all
133142 git commit -m "${{ github.event.inputs.title }}" -a
134143 git push --set-upstream origin ${GITHUB_SHA::8}
135- gh pr create --fill --draft
144+ gh pr create --fill --draft --base develop
136145 env :
137146 GITHUB_TOKEN : ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}
0 commit comments