[Feature] Allow excluded users (ex. bots) in branch protection implementation #220
Closed
3 of 4 tasks
Labels
💻 aspect: code
Concerns the software code in the repository
✨ goal: improvement
Improvement to an existing feature
help wanted
Open to participation from the community
🟨 priority: medium
Not blocking but should be fixed soon
💪 skill: python
Requires proficiency in 'Python'
🏁 status: ready for work
Ready for work
Problem
Repositories updated by bots are excluded (reduced security):
ccos-scripts/ccos/norm/branch_protections.yml
Lines 1 to 17 in fbd4764
Description
Protections can be maintained with specific users (bots) excluded
In the GitHub GUI, the specific user exclusions look like this, for example:

The script (
normalize_repos.py
) already handles:It needs to be updated to also handle (with ability to specify one or more users):
Additional context
Implementation
The text was updated successfully, but these errors were encountered: