Generate #154
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate | ||
permissions: | ||
checks: write | ||
contents: write | ||
pull-requests: write | ||
statuses: write | ||
id-token: write | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
force: | ||
description: Force generation of SDKs | ||
type: boolean | ||
default: false | ||
schedule: | ||
- cron: 0 0 * * * | ||
jobs: | ||
speakeasy_generate: | ||
Check failure on line 18 in .github/workflows/sdk_generation.yaml GitHub Actions / GenerateInvalid workflow file
|
||
needs: gather-secrets | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Authenticate with AWS | ||
uses: goshippo/shippo-action-workflows/.github/actions/[email protected] | ||
with: | ||
environment: ${{ inputs.environment }} | ||
oidc-name: shippo-php-sdk-pipeline | ||
login-to-ecr: false | ||
- name: Get Speakeasy Secrets Manager | ||
id: get-secrets | ||
uses: aws-actions/aws-secretsmanager-get-secrets@v2 | ||
with: | ||
secret-ids: | | ||
,dev-main-speakeasy-api-key | ||
name-transformation: uppercase | ||
parse-json-secrets: true | ||
# - name: Generate SDK | ||
# uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 | ||
# with: | ||
# force: ${{ github.event.inputs.force }} | ||
# mode: pr | ||
# speakeasy_version: latest | ||
# env: | ||
# github_access_token: ${{ secrets.GITHUB_TOKEN }} | ||
# speakeasy_api_key: ${{ jobs.gather-secrets.outputs.get-secrets.DEV_MAIN_SPEAKEASY_API_KEY_PHP_API_KEY }} # Reference the output directly |