Skip to content

Commit 766bc58

Browse files
committed
fix: pyhton sdk generation
Signed-off-by: Alexander Dahmen <[email protected]>
1 parent e01c33c commit 766bc58

File tree

1 file changed

+34
-28
lines changed

1 file changed

+34
-28
lines changed

.github/workflows/sdk-pr.yaml

Lines changed: 34 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -11,37 +11,43 @@ env:
1111
JAVA_VERSION: "11"
1212

1313
jobs:
14-
main-go:
15-
name: "[Go] Update SDK Repo"
16-
runs-on: ubuntu-latest
17-
steps:
18-
- name: Install SSH Key
19-
uses: shimataro/ssh-key-action@v2
20-
with:
21-
key: ${{ secrets.SSH_PRIVATE_KEY }}
22-
known_hosts: ${{ vars.SSH_KNOWN_HOSTS }}
23-
- name: Install Java
24-
uses: actions/setup-java@v4
25-
with:
26-
distribution: "temurin"
27-
java-version: ${{ env.JAVA_VERSION }}
28-
- name: Checkout
29-
uses: actions/checkout@v4
30-
- name: Build
31-
uses: ./.github/actions/build/go
32-
with:
33-
go-version: ${{ env.GO_VERSION }}
34-
- name: Generate SDK
35-
uses: ./.github/actions/generate-sdk/go
36-
- name: Push SDK
37-
env:
38-
GH_REPO: "stackitcloud/stackit-sdk-go"
39-
GH_TOKEN: ${{ secrets.SDK_PR_TOKEN }}
40-
run: |
41-
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 }})"
14+
# main-go:
15+
# name: "[Go] Update SDK Repo"
16+
# runs-on: ubuntu-latest
17+
# permissions:
18+
# pull-requests: write
19+
# contents: write
20+
# steps:
21+
# - name: Install SSH Key
22+
# uses: shimataro/ssh-key-action@v2
23+
# with:
24+
# key: ${{ secrets.SSH_PRIVATE_KEY }}
25+
# known_hosts: ${{ vars.SSH_KNOWN_HOSTS }}
26+
# - name: Install Java
27+
# uses: actions/setup-java@v4
28+
# with:
29+
# distribution: "temurin"
30+
# java-version: ${{ env.JAVA_VERSION }}
31+
# - name: Checkout
32+
# uses: actions/checkout@v4
33+
# - name: Build
34+
# uses: ./.github/actions/build/go
35+
# with:
36+
# go-version: ${{ env.GO_VERSION }}
37+
# - name: Generate SDK
38+
# uses: ./.github/actions/generate-sdk/go
39+
# - name: Push SDK
40+
# env:
41+
# GH_REPO: "stackitcloud/stackit-sdk-go"
42+
# GH_TOKEN: ${{ secrets.SDK_PR_TOKEN }}
43+
# run: |
44+
# 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 }})"
4245
main-python:
4346
name: "[Python] Update SDK Repo"
4447
runs-on: ubuntu-latest
48+
permissions:
49+
pull-requests: write
50+
contents: write
4551
steps:
4652
- name: Install SSH Key
4753
uses: shimataro/ssh-key-action@v2

0 commit comments

Comments
 (0)