trns1997 opened a new issue, #17153:
URL: https://github.com/apache/nuttx/issues/17153

   ### Is your feature request related to a problem? Please describe.
   
   Currently, when creating a pull request (PR) in NuttX, the CI pipelines 
automatically run even if the PR is still a work in progress. This can lead to 
unnecessary builds and clutter in the CI history for PRs that are not yet ready 
for review.
   
   ### Describe the solution you'd like
   
   Currently, GitHub allows PRs to be marked as draft, but CI workflows in 
NuttX still run automatically when a draft PR is created or updated.
   
   The feature request is to make workflows aware of the draft status so that:
   
   - CI pipelines do not run for draft PRs.
   - Any in-progress workflows for a PR that is converted to draft can be 
automatically canceled.
   
   This would allow contributors to share work-in-progress PRs without 
triggering unnecessary CI runs, improving collaboration while saving resources. 
   
   Not sure if this is doable but i will look into it.
   
   ### Describe alternatives you've considered
   
   Waiting to create a PR until the feature is complete.
   
   Using separate branches and sharing links manually.
   
   However, a draft PR workflow is a cleaner approach as it allows sharing 
ideas with collaborators early while avoiding unnecessary CI runs.
   
   ### Verification
   
   - [x] I have verified before submitting the report.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to