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
@@ -6,10 +6,6 @@ export function selectPullRequestDiffBase(requestedBase, headParents, eventName)
if (eventName === 'pull_request' && headParents.length >= 2) {
return headParents[0]
}
// A main push has no payload base; its first parent is the main tip it landed on.
if (eventName === 'push' && !requestedBase && headParents.length >= 1) {
return headParents[0]
}
return requestedBase
}