diff --git a/.github/workflows/vapi-checks.yml b/.github/workflows/vapi-checks.yml index 0477d15..03b556f 100644 --- a/.github/workflows/vapi-checks.yml +++ b/.github/workflows/vapi-checks.yml @@ -97,6 +97,10 @@ jobs: CHECK: ${{ inputs.check }} BASE_REF: ${{ github.base_ref }} GITHUB_TOKEN: ${{ github.token }} + # Appended to each check's label, so the dashboard's runs table + # says which PR a run came from. Keep it quoted: unquoted, YAML + # cuts the value at " #". + VAPI_CHECK_LABEL_CONTEXT: "${{ github.event.pull_request.number && format('PR #{0}', github.event.pull_request.number) || 'manual run' }}" VAPI_CHECK_TOKENS: ${{ steps.mode.outputs.live == 'true' && secrets.VAPI_CHECK_TOKENS || '' }} VAPI_PRIVATE_API_KEY: ${{ steps.mode.outputs.live == 'true' && secrets.VAPI_PRIVATE_API_KEY || '' }} run: | diff --git a/docs/guides/configuration.md b/docs/guides/configuration.md index 9ccd16e..c530fd6 100644 --- a/docs/guides/configuration.md +++ b/docs/guides/configuration.md @@ -67,4 +67,5 @@ These are hand-written. The files the engine writes live apart from them, in | --- | --- | | `CI=true` | Suppresses interactive warnings, such as the one `pull --force` prints. Set automatically by most CI systems. | | `VAPI_CALL_DEBUG=1` | Makes `npm run call` log message types it would otherwise ignore. | +| `VAPI_CHECK_LABEL_CONTEXT` | Appended to a check's `label` in its run names, as `