Skip to content

Commit 5bf3e4a

Browse files
committed
fix(github-actions): allow for mergeability checks before a pr is marked as merge ready
The merge ready label should be applied when we know something is ready for merge, it does not make sense that the check only occurs once the label is applied as it should provide information about if it is merge ready.
1 parent b0695c4 commit 5bf3e4a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/local-actions/branch-manager/lib/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ async function main() {
8181
pr,
8282
createPullRequestValidationConfig({
8383
assertSignedCla: true,
84-
assertMergeReady: true,
84+
assertMergeReady: false,
8585
assertPending: false,
8686
assertChangesAllowForTargetLabel: false,
8787
assertPassingCi: false,

.github/local-actions/branch-manager/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64515,7 +64515,7 @@ async function main() {
6451564515
await cloneRepoIntoTmpLocation({ owner, repo });
6451664516
const pullRequest = await loadAndValidatePullRequest({ git, config }, pr, createPullRequestValidationConfig({
6451764517
assertSignedCla: true,
64518-
assertMergeReady: true,
64518+
assertMergeReady: false,
6451964519
assertPending: false,
6452064520
assertChangesAllowForTargetLabel: false,
6452164521
assertPassingCi: false,

0 commit comments

Comments
 (0)