Visitar URL original
Document job-level concurrency for Claude comment workflows by bezabyte · Pull Request #2017 · anthropics/claude-code-action · GitHub
Skip to content

Document job-level concurrency for Claude comment workflows - #2017

Open
bezabyte wants to merge 1 commit into
anthropics:mainfrom
bezabyte:docs/comment-job-concurrency
Open

bezabyte wants to merge 1 commit into
anthropics:mainfrom
bezabyte:docs/comment-job-concurrency

Conversation

@bezabyte

Copy link
Copy Markdown

Summary

GitHub records a workflow run for a matching comment event even if the author filter skips the Claude job. With a shared concurrency group at workflow scope, a skipped run can interfere with a legitimate run.

Add a FAQ example that places concurrency on the filtered Claude job, groups by issue or PR, and lets an active job finish. The FAQ also explains why a skipped run still appears in Actions.

Refs #794.

Verification

Two push-triggered fixture workflows used the same job condition and cancel-in-progress: true. A second push skipped both jobs. The skipped run cancelled the active run with workflow-level concurrency. The active run with job-level concurrency completed. The fixtures tested GitHub scheduling without using Claude or posting comments.

All 1,224 local tests passed, along with TypeScript and Prettier.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant