File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 1515 name : [Go] Update SDK Repo
1616 runs-on : ubuntu-latest
1717 steps :
18+ - name : Checkout code
19+ uses : actions/checkout@v3
1820 - name : Install SSH Key
1921 uses : shimataro/ssh-key-action@v2
2022 with :
3032 with :
3133 repository : " stackitcloud/stackit-sdk-generator"
3234 ref : " main"
35+ path : ' generator-repo'
3336 - name : Build
3437 uses : ./.github/actions/build
3538 with :
@@ -50,10 +53,13 @@ jobs:
5053 GH_TOKEN : ${{ secrets.SDK_PR_TOKEN }}
5154 run : |
5255 scripts/sdk-create-pr.sh "oas-bot-${{ github.run_id }}" "Generated from GitHub run [${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})"
56+
5357 main-python :
5458 name : [Python] Update SDK Repo
5559 runs-on : ubuntu-latest
5660 steps :
61+ - name : Checkout code
62+ uses : actions/checkout@v3
5763 - name : Install SSH Key
5864 uses : shimataro/ssh-key-action@v2
5965 with :
6975 with :
7076 repository : " stackitcloud/stackit-sdk-generator"
7177 ref : " main"
78+ path : ' generator-repo'
7279 - name : Build
7380 uses : ./.github/actions/build
7481 with :
7784 run : make download-oas
7885 - name : Generate SDK
7986 run : make generate-sdk LANGUAGE=python
80- - uses : actions/checkout@v3
87+ - name : Checkout Python SDK Core
88+ uses : actions/checkout@v3
8189 with :
8290 repository : " stackitcloud/stackit-sdk-python-core"
8391 ref : " main"
99107 GH_REPO : " stackitcloud/stackit-sdk-python"
100108 GH_TOKEN : ${{ secrets.SDK_PR_TOKEN }}
101109 run : |
102- scripts/sdk-create-pr.sh "generator-bot-${{ github.run_id }}" "Generated from GitHub run [${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})" "[email protected] :stackitcloud/stackit-sdk-python.git" "python" 110+ scripts/sdk-create-pr.sh "generator-bot-${{ github.run_id }}" "Generated from GitHub run [${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})" "[email protected] :stackitcloud/stackit-sdk-python.git" "python"
You can’t perform that action at this time.
0 commit comments