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

Define branches that can be targeted by PRs that don't update the issue tracker #726

Open
nleach999 opened this issue May 10, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request priority:low Low Priority

Comments

@nleach999
Copy link
Contributor

Describe the problem

Customer request to define something like secondary protected branches. PRs targeting the secondary branch perform a scan and issue PR comments, but a push to the secondary invokes a scan without an issue tracker update. This is so they can push issues into the issue tracker only when pushing to a primary protected branch.

Proposed solution

New config option like "branches" named "secondary-branches" that works the same way for PRs when PRs target secondary branches, but secondary branch push events don't update the issue tracker.

@nleach999 nleach999 added the enhancement New feature or request label May 10, 2021
@jbrotsos jbrotsos self-assigned this May 13, 2021
@jbrotsos jbrotsos added the priority:low Low Priority label Jun 2, 2021
@cx-scord
Copy link
Contributor

cx-scord commented Jul 6, 2021

This structure could also be introduced inside the branches property of the cx-flow block with a property named track-issues or track-bugs, adding name to set the branch's name, like:

cx-flow:
  branches:
    - name: main
      track-issues: true
    - name: development
      track-issues: false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority:low Low Priority
Projects
None yet
Development

No branches or pull requests

3 participants