Compliance Finding
Category: settings
Severity: error
Check: codeowners-org-leads-not-first
Detail
CODEOWNERS owner lines must list @petry-projects/org-leads as the FIRST owner. Offending line: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}
Standard Reference
standards/codeowners-standard.md
Remediation
Run scripts/apply-repo-settings.sh .github with a token that has admin access to the repository (requires a classic PAT with repo scope or equivalent):
GH_TOKEN=<admin-pat> bash scripts/apply-repo-settings.sh .github
This script applies all standard settings defined in standards/github-settings.md in one pass.
For a dry run to preview changes without applying: DRY_RUN=true GH_TOKEN=<admin-pat> bash scripts/apply-repo-settings.sh .github
This issue was automatically created by the weekly compliance audit.
Compliance Finding
Category:
settingsSeverity:
errorCheck:
codeowners-org-leads-not-firstDetail
CODEOWNERS owner lines must list
@petry-projects/org-leadsas the FIRST owner. Offending line:{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content","status":"404"}Standard Reference
standards/codeowners-standard.md
Remediation
Run
scripts/apply-repo-settings.sh .githubwith a token that has admin access to the repository (requires a classic PAT withreposcope or equivalent):This script applies all standard settings defined in
standards/github-settings.mdin one pass.For a dry run to preview changes without applying:
DRY_RUN=true GH_TOKEN=<admin-pat> bash scripts/apply-repo-settings.sh .githubThis issue was automatically created by the weekly compliance audit.