Log updated branch protections for pagelist and run the check on a schedule (#52693)
This commit is contained in:
4
.github/branch_protection_settings/main.json
vendored
4
.github/branch_protection_settings/main.json
vendored
@@ -41,6 +41,7 @@
|
||||
"workflows",
|
||||
"lint-code",
|
||||
"secret-scanning",
|
||||
"pagelist"
|
||||
],
|
||||
"contexts_url": "https://api.github.com/repos/github/docs-internal/branches/main/protection/required_status_checks/contexts",
|
||||
"checks": [
|
||||
@@ -83,7 +84,8 @@
|
||||
{ "context": "products", "app_id": 15368 },
|
||||
{ "context": "workflows", "app_id": 15368 },
|
||||
{ "context": "lint-code", "app_id": 15368 },
|
||||
{ "context": "secret-scanning", "app_id": 15368 }
|
||||
{ "context": "secret-scanning", "app_id": 15368 },
|
||||
{ "context": "pagelist", "app_id": 15368 }
|
||||
]
|
||||
},
|
||||
"restrictions": {
|
||||
|
||||
@@ -3,6 +3,8 @@ name: Alert Changed Branch Protections
|
||||
on:
|
||||
branch_protection_rule:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '20 16 * * 3' # Run every Wednesday at 16:30 UTC / 8:30 PST
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
Reference in New Issue
Block a user