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

Suggestion for spending less GitHub cloud minutes #6279

Closed

Conversation

niklasberglund
Copy link
Collaborator

@niklasberglund niklasberglund commented May 24, 2024

A suggestion for how less cloud minutes could be spent by not running time consuming jobs for draft PRs. With these changes runs triggered by pull_request will only trigger when the PR is not a draft, and when a draft PR is ready for review.

Looked over job execution time and made sure jobs taking over 1 minute aren't triggered for draft PRs.
image

So when pushing commits to a draft PR branch actions triggered will look something like this:
image


This change is Reviewable

@niklasberglund niklasberglund force-pushed the suggestion-for-spending-less-cloud-minutes branch 3 times, most recently from 1b92d96 to 101138c Compare May 24, 2024 14:13
@niklasberglund niklasberglund marked this pull request as ready for review May 30, 2024 11:02
@niklasberglund niklasberglund force-pushed the suggestion-for-spending-less-cloud-minutes branch from 1d9053a to 5c26e34 Compare May 30, 2024 11:07
@niklasberglund niklasberglund changed the title Modify time consuming PR workflows to not trigger for drafts Suggestion for spending less GitHub cloud minutes May 30, 2024
@niklasberglund niklasberglund requested a review from faern May 30, 2024 11:20
@niklasberglund
Copy link
Collaborator Author

Closing this for now. Many workflows use free runner images, and the solution to spending many cloud minutes when iterating on draft PRs could be to just be mindful and try to avoid it.

@niklasberglund niklasberglund deleted the suggestion-for-spending-less-cloud-minutes branch January 10, 2025 16:31
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