Skip to content

Commit a6dd7de

Browse files
authored
chore(speakeasy): configure npm Trusted Publishing (#14)
1 parent 1f1555c commit a6dd7de

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/sdk_generation.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ permissions:
44
contents: write
55
pull-requests: write
66
statuses: write
7+
id-token: write
78
"on":
89
workflow_dispatch:
910
inputs:
@@ -29,5 +30,5 @@ jobs:
2930
secrets:
3031
github_access_token: ${{ secrets.GITHUB_TOKEN }}
3132
npm_token: ${{ secrets.NPM_TOKEN }}
32-
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
3333
openapi_doc_auth_token: ${{ secrets.OPENAPI_DOC_AUTH_TOKEN }}
34+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.github/workflows/sdk_publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ jobs:
2222
secrets:
2323
github_access_token: ${{ secrets.GITHUB_TOKEN }}
2424
npm_token: ${{ secrets.NPM_TOKEN }}
25+
openapi_doc_auth_token: ${{ secrets.OPENAPI_DOC_AUTH_TOKEN }}
2526
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
26-

0 commit comments

Comments
 (0)