1
0
mirror of synced 2026-01-20 03:01:07 -05:00

Log updated branch protections for pagelist and run the check on a schedule (#52693)

This commit is contained in:
Hector Alfaro
2024-10-15 12:15:07 -04:00
committed by GitHub
parent b78d646cc3
commit 8ccfc2e2f5
2 changed files with 5 additions and 1 deletions

View File

@@ -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": {

View File

@@ -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