Check in preflight stage to ensure that the branch is protected if development or master
This template is ONLY used for enhancement requests. Bug reporting or new feature request issues should use the other template options for issue submission.
Current Behavior
- Pipeline running with or without the branch being protected
Purpose
- Prevent waiting on pipeline and failing at later stage because you're unable to access protected variables
Plan
- Add check in preflight or preprocess to check if the branch that is being run is protected if it's either:
- Master
- Development
Acceptance Criteria
- Pipeline stops if branch not protected and the branch is either master or development