I would like to avoid running CI on draft PRs.
In our project draft PRs are designated in two ways:
- The PR is marked as draft, which we currently cannot fully employ b/c draft PRs are not enabled in private repos
- The subject of the PR starts with [WIP]
I have been partially successful at this with adding the following:
jobs: CI: if: github.event.pull_request.draft == false
Is there a good way to add a regex check to see if the subject line of the PR starts with “[WIP]”?
Thank you for all your help.