fix(pentest): address cubic review findings on finding-context flow #162
Workflow file for this run
This file contains hidden or 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 | |
| # Generated by `speakeasy configure github`. The MCP server lives at | |
| # apps/mcp-server in this monorepo, so we pass `working_directory: apps/mcp-server` | |
| # to point Speakeasy's reusable action at the .speakeasy/workflow.yaml there. | |
| # | |
| # WHY THIS FILE IS HERE AND NOT UNDER apps/mcp-server/.github/workflows/: | |
| # GitHub Actions only reads workflow files from `.github/workflows/` at the | |
| # repository root. Speakeasy's `configure github` command writes the workflow | |
| # next to the speakeasy config (apps/mcp-server/.github/workflows/), which is | |
| # the wrong path for GH to pick it up — so we moved it here. If you re-run | |
| # `speakeasy configure github`, delete the duplicate it creates under | |
| # apps/mcp-server/.github/ and keep this one. | |
| 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 | |
| set_version: | |
| description: optionally set a specific SDK version | |
| type: string | |
| schedule: | |
| - cron: 0 0 * * * | |
| pull_request: | |
| types: | |
| - labeled | |
| - unlabeled | |
| jobs: | |
| generate: | |
| uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 | |
| with: | |
| force: ${{ github.event.inputs.force }} | |
| mode: pr | |
| set_version: ${{ github.event.inputs.set_version }} | |
| working_directory: apps/mcp-server | |
| secrets: | |
| github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
| npm_token: ${{ secrets.NPM_TOKEN }} | |
| speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} |