Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- 'generator/**'
- '.github/workflows/generator.yml'

permissions:
contents: write
pull-requests: write

jobs:
generate:
name: Generate SDK from OpenAPI
Expand Down Expand Up @@ -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: |
Expand All @@ -77,4 +81,3 @@ jobs:
This is an automated update generated by the SDK generator workflow.
branch: update-sdk-from-openapi
delete-branch: true

Loading