Revert "ci: full checks on main pushes, changed-file lint on PRs, Slack alert when main breaks (#37282)" (#37341)

Main went red right away on the full main-push runs. Reverting to the previous PR-only checks.

This reverts commit a7ae68fc6f.
This commit is contained in:
Neil
2026-11-01 22:45:18 -08:00
committed by GitHub
parent 0fad93e2ad
commit 8be3cb963e
12 changed files with 21 additions and 840 deletions
@@ -18,10 +18,7 @@ export function verifyRequiredPrContext(parseYaml) {
}
const gate = providers[0].job
const condition = gate.if?.replace(/^\$\{\{\s*|\s*\}\}$/g, '').trim()
if (
condition !==
"!cancelled() && (github.event_name != 'pull_request' || github.event.pull_request.draft != true)"
) {
if (condition !== '!cancelled() && github.event.pull_request.draft != true') {
throw new Error('Required PR aggregate must run unless cancelled or the PR is a draft.')
}
if (gate['continue-on-error'] || gate.steps?.some((step) => step['continue-on-error'])) {