github-action-build-chain icon indicating copy to clipboard operation
github-action-build-chain copied to clipboard

be able to exclude PR set list from build

Open Ginxo opened this issue 3 years ago • 0 comments

Let's suppose we want to build either a branch or a PR set and we want to exclude a list of specific PR urls, like I want to build main branch for https://github.com/kiegroup/kie-wb-distributions but I want to exclude already merged PRs for it like

  • https://github.com/kiegroup/kie-wb-distributions/pull/1169
  • https://github.com/kiegroup/kie-wb-distributions/pull/1166

Things to consider:

  • target branch from excluded PRs has to match either the branch to build or the target branch from PR url to build
  • the PR url to exclude could be from specific project to build or could be from any project in the chain
  • this functionality should be available just from CLI with a new argument like excludedPRs (or any better idea)

Ginxo avatar Aug 08 '22 11:08 Ginxo