diff --git a/.github/workflows/workflow-executor.yaml b/.github/workflows/workflow-executor.yaml index 1e15c7db..0f21158b 100644 --- a/.github/workflows/workflow-executor.yaml +++ b/.github/workflows/workflow-executor.yaml @@ -133,6 +133,7 @@ jobs: output_tests: ${{ inputs.output_tests }} speakeasy_server_url: ${{ inputs.speakeasy_server_url }} working_directory: ${{ inputs.working_directory }} + openapi_doc_auth_token: ${{ secrets.openapi_doc_auth_token }} - uses: ravsamhq/notify-slack-action@v2 if: always() && env.SLACK_WEBHOOK_URL != '' with: diff --git a/action.yml b/action.yml index a3bb1302..4f687d0e 100644 --- a/action.yml +++ b/action.yml @@ -12,6 +12,9 @@ inputs: speakeasy_api_key: description: "The Speakeasy API key to authenticate the Speakeasy CLI with" required: true + openapi_doc_auth_token: + description: "An auth token to authenticate with a private OpenAPI spec" + required: false force: description: "Force the SDK to be regenerated" default: "false" @@ -153,3 +156,4 @@ runs: - ${{ inputs.output_tests }} - ${{ inputs.working_directory }} - ${{ inputs.gpg_fingerprint }} + - ${{ inputs.openapi_doc_auth_token }}