feat: add bypass-branch-check label to skip branch enforcement

This commit is contained in:
jubnl
2026-04-28 05:16:49 +02:00
parent 03b33cb19e
commit 2a1f063ea2
2 changed files with 9 additions and 0 deletions
@@ -26,6 +26,9 @@ jobs:
const twentyFourHoursAgo = new Date(Date.now() - 24 * 60 * 60 * 1000);
for (const pull of pulls) {
const hasBypass = pull.labels.some(l => l.name === 'bypass-branch-check');
if (hasBypass) continue;
const hasLabel = pull.labels.some(l => l.name === 'wrong-base-branch');
if (!hasLabel) continue;