Skip to content

Commit

Permalink
updates to correct yaml on generate and permissions on validate
Browse files Browse the repository at this point in the history
  • Loading branch information
rkeur7 committed Oct 29, 2024
1 parent 9cb7df6 commit a233313
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/sdk_generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ permissions:
contents: write
pull-requests: write
statuses: write
"on":
id-token: write
on:
workflow_dispatch:
inputs:
force:
Expand All @@ -15,6 +16,8 @@ permissions:
- cron: 0 0 * * *
jobs:
generate:
runs-on: ubuntu-latest
steps:
- name: "Authenticate with AWS"
uses: goshippo/shippo-action-workflows/.github/actions/[email protected]
with:
Expand All @@ -34,6 +37,6 @@ jobs:
force: ${{ github.event.inputs.force }}
mode: pr
speakeasy_version: latest
secrets:
env:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
speakeasy_api_key: ${{ env.DEV_MAIN_SPEAKEASY_API_KEY_PHP_API_KEY }}
4 changes: 3 additions & 1 deletion .github/workflows/sdk_validation.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Validate

permissions:
contents: write
id-token: write
on:
workflow_call:
pull_request:
Expand Down

0 comments on commit a233313

Please sign in to comment.