-
Task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
Overview
Automate the execution of repository rule enforcement scripts located in ci-cd/toolbox/scripts/ to run against all managed repositories defined in ci-cd/toolbox/repos.yaml on a regular schedule.
Current Scripts
The following scripts need to be automated:
- check-mr-statuses.sh
- detect-stuck-statuses-group.sh
- enable-non-author-approval.py
- enforce-branch-protection.py
- fix-stuck-status.sh
Requirements
- Set up scheduled CI/CD job to run periodically
- Target all repositories listed in ci-cd/toolbox/repos.yaml
- Respect the skip: true flag for repositories shared with other teams
- Automatically apply rules to newly added repositories matching patterns in repos.yaml
- Support multi-platform execution (gitlab.com, gitlab.cee.redhat.com, github.com)
Acceptance Criteria
- [ ] Scheduled pipeline is configured
- [ ] All non-skipped repositories in repos.yaml are processed
- [ ] New repositories added to repos.yaml are automatically included
- [ ] Execution logs and results are tracked
- [ ] Failed rule applications are reported