Skip to content

Commit bf3efc6

Browse files
committed
fix: Python sdk generation
Use poetry version 1.8.5 also for creating PRs. Signed-off-by: Alexander Dahmen <[email protected]>
1 parent e01c33c commit bf3efc6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/sdk-pr.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
main-go:
1515
name: "[Go] Update SDK Repo"
1616
runs-on: ubuntu-latest
17+
permissions:
18+
pull-requests: write
19+
contents: write
1720
steps:
1821
- name: Install SSH Key
1922
uses: shimataro/ssh-key-action@v2
@@ -42,6 +45,9 @@ jobs:
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
@@ -68,6 +74,6 @@ jobs:
6874
python -m venv .venv
6975
. .venv/bin/activate
7076
python -m pip install --upgrade pip
71-
pip install poetry
77+
pip install poetry==1.8.5
7278
poetry config virtualenvs.create false
7379
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"

0 commit comments

Comments
 (0)