-
Notifications
You must be signed in to change notification settings - Fork 53
feat: PRD-5254 - Prevent CI job cancellation on push events #753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: PRD-5254 - Prevent CI job cancellation on push events #753
Conversation
- Remove AI-generated markers from PR body template - Add explicit instructions to NOT commit .claude-coordinator-* files - Replace 'git add .' with 'git add <specific-files>' - Add note about following AGENTS.md commit guidelines - Prevents future PRs from including coordinator prompt files
Update CI workflow to only cancel in-progress jobs for pull requests. Push events to main/master will now allow parallel CI jobs to complete, ensuring isolated deployments are not disrupted by subsequent commits. Related to PRD-5254
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
💡 Enable Vercel Agent with $100 free credit for automated AI reviews |
|
Claude finished @amikofalvy's task —— View job PR Review: GitHub Actions CI Job Cancellation ControlReview Progress
🎯 Change AnalysisThis PR implements a conditional concurrency control for the CI workflow by changing: # Before
cancel-in-progress: true
# After
cancel-in-progress: ${{ github.event_name == 'pull_request' }}Intent: Allow parallel CI jobs on push events to main/master while maintaining efficient job cancellation for PR iterations. 🏗️ System Architecture Assessment✅ Well-Architected Decisions
|
Summary
Updated the GitHub Actions CI workflow to prevent in-progress jobs from being cancelled when new commits are pushed to main/master branches. The workflow now only cancels in-progress jobs for pull request events, allowing push events to complete their CI runs for isolated deployments.
Linear Ticket
Closes https://linear.app/inkeep/issue/PRD-5254/github-action-ci-ci-push-shouldnt-be-cancelled-if-another-commit-is
Changes
.github/workflows/ci.ymlto conditionally setcancel-in-progressbased on event typecancel-in-progress: ${{ github.event_name == 'pull_request' }}ensures:Testing
Checklist