Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
ci: don't let unrelated label additions cancel in-flight evals
Soumya Medapaticd1a59edcf63
diff --git a/.github/workflows/docs-agent-eval.yml b/.github/workflows/docs-agent-eval.ymlindex 2ef7d3b63..b1aafdeff 100644--- a/.github/workflows/docs-agent-eval.yml+++ b/.github/workflows/docs-agent-eval.yml@@ -18,13 +18,20 @@ on:pull_request:types: [labeled, synchronize, reopened]-concurrency:- group: docs-agent-eval-pr-${{ github.event.pull_request.number }}- cancel-in-progress: true # newest commit wins; stale evals are superseded-jobs:eval:- if: contains(github.event.pull_request.labels.*.name, 'run-docs-tests')+ # Run when the PR carries the label — but for `labeled` events, only when+ # the label just added is one of ours (any other label addition would+ # otherwise cancel-and-restart an in-flight eval; Cursor Bugbot finding).+ if: |+ contains(github.event.pull_request.labels.*.name, 'run-docs-tests') &&+ (github.event.action != 'labeled' || startsWith(github.event.label.name, 'run-docs-tests'))+ # Job-level on purpose: a skipped job never enters the concurrency group,+ # so unrelated triggers cannot cancel a running eval. New commits still+ # supersede stale runs.+ concurrency:+ group: docs-agent-eval-pr-${{ github.event.pull_request.number }}+ cancel-in-progress: truepermissions:contents: readpull-requests: write # the result comment