Skip to content

Commit ec256a6

Browse files
author
Anonymous Committer
committed
chore: update OpenAPI sync workflow to include issue permissions and token handling
1 parent 2494026 commit ec256a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/sync-openapi.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
permissions:
1212
contents: write
13+
issues: write
1314
pull-requests: write
1415
env:
1516
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
@@ -45,6 +46,8 @@ jobs:
4546
- name: Create pull request
4647
uses: peter-evans/create-pull-request@v7
4748
with:
49+
token: ${{ secrets.OPENAPI_SYNC_GITHUB_TOKEN || github.token }}
50+
branch-token: ${{ secrets.OPENAPI_SYNC_GITHUB_TOKEN || github.token }}
4851
branch: automation/openapi-sync
4952
commit-message: "chore: sync OpenAPI-generated SDK"
5053
title: "chore: sync OpenAPI-generated SDK"

0 commit comments

Comments
 (0)