From 9bc5d4a63a7b2a2935cb39dc884f073702f478c1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 2 Nov 2026 11:16:10 +0000 Subject: [PATCH 1/2] Initial plan From 3c7f719782e31d5dc85aecb36d6b325a9a98fe25 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 2 Nov 2026 11:17:39 +0000 Subject: [PATCH 2/2] Fix SDK generator workflow authentication Co-authored-by: omer-topal <181716048+omer-topal@users.noreply.github.com> --- .github/workflows/generator.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generator.yml b/.github/workflows/generator.yml index 5ed4cf85..05ef4e78 100644 --- a/.github/workflows/generator.yml +++ b/.github/workflows/generator.yml @@ -10,6 +10,10 @@ on: - 'generator/**' - '.github/workflows/generator.yml' +permissions: + contents: write + pull-requests: write + jobs: generate: name: Generate SDK from OpenAPI @@ -62,7 +66,7 @@ jobs: if: steps.check_changes.outputs.changed == 'true' uses: peter-evans/create-pull-request@v5 with: - token: ${{ secrets.PAT_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} commit-message: "chore: update Python SDK from latest OpenAPI specification" title: "chore: update Python SDK from latest OpenAPI specification" body: | @@ -77,4 +81,3 @@ jobs: This is an automated update generated by the SDK generator workflow. branch: update-sdk-from-openapi delete-branch: true -