Closed nshema-pinc closed 3 weeks ago
Hi there, not sure if you pasted the entire config file but it seems to be missing some parameters like branches
and indentation:
branches:
- name: default
protection:
...
Try checking the sample:
See docs/sample-settings/settings.yml for a sample settings file.
Raised a new issue with detailed explanation
We are using safe-settings for protecting branches for repository in Premier Inc organization.
I was trying to add protection only to develop branch. But protections applied to both main and develop branch. Please assist me in this issue
Example
I use the below script to make develop branch as to be protected but it made both main and develop protected. Please help me with this.
`- name: develop