Skip to content

Commit 0fe7f11

Browse files
authored
Update permissions and fix action parameters
1 parent 507c646 commit 0fe7f11

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/stainless-action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Build Stainless SDKs
2-
2+
33
on:
44
pull_request:
55
types: [opened, synchronize, reopened]
@@ -22,6 +22,7 @@ jobs:
2222
permissions:
2323
contents: read
2424
pull-requests: write
25+
id-token: write
2526
steps:
2627
- name: Checkout repository
2728
uses: actions/checkout@v6
@@ -34,4 +35,3 @@ jobs:
3435
org: ${{ env.STAINLESS_ORG }}
3536
project: ${{ env.STAINLESS_PROJECT }}
3637
oas_path: ${{ env.OAS_PATH }}
37-
stainless_api_key: ${{ secrets.STAINLESS_API_KEY }}

0 commit comments

Comments
 (0)