mirror of
https://github.com/stablyai/orca.git
synced 2026-11-17 11:24:37 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user