Skip to content
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

Add labeled logic to auto cancel for PR builds #1035

Open
ecrupper opened this issue Feb 4, 2025 · 0 comments
Open

Add labeled logic to auto cancel for PR builds #1035

ecrupper opened this issue Feb 4, 2025 · 0 comments
Labels
enhancement Indicates an improvement to a feature

Comments

@ecrupper
Copy link
Contributor

ecrupper commented Feb 4, 2025

Description

Based on the current implementation of pull_request event types for auto cancel, labeled actions are not processed.

Some users may trigger builds via a label and would want to auto cancel those builds upon re-adding the label.

Value

Use case of triggering long-running label builds (test suites or the like) would be addressed by adding support for the label action.

Definition of Done

Vela handles pull_request:labeled as a potential auto-canceler. May need to add some options to the auto_cancel YAML map.

Effort (Optional)

1-2 days dev time

Impacted Personas (Optional)

responsible auto-cancelers

@ecrupper ecrupper added the enhancement Indicates an improvement to a feature label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Indicates an improvement to a feature
Projects
None yet
Development

No branches or pull requests

1 participant