This is a simple expansion of the key/value filter infrastructure that allow to test the draft attribute of a Pull Request and exclude it from the merge candidates. The default org set of filters is modified to exclude draft PRs by default.
For testing, first install this branch e.g. in a virtual environment
source venv/bin/activate
pip install -e .
Then run the command against a repository against which Pull Requests in a draft stage are opened e.g. https://github.com/ome/bioformats/pulls. The default set of filters should now exclude these PRs from the merge candidates and indicate the reason in the log output:
scc merge info --master # should filter out draft PRs
scc merge info --master -Dall # should include all PRs including draft PRs
Fixes #262
This is a simple expansion of the key/value filter infrastructure that allow to test the draft attribute of a Pull Request and exclude it from the merge candidates. The default
org
set of filters is modified to exclude draft PRs by default.For testing, first install this branch e.g. in a virtual environment
Then run the command against a repository against which Pull Requests in a draft stage are opened e.g. https://github.com/ome/bioformats/pulls. The default set of filters should now exclude these PRs from the merge candidates and indicate the reason in the log output:
Proposed tag:
0.19.0
given the breaking change