From 3bf1b69ececab4e20ae052f8fe6aac8d6f53119c Mon Sep 17 00:00:00 2001 From: Tak Hoffman <781889+Takhoffman@users.noreply.github.com> Date: Sat, 4 Apr 2026 12:20:41 -0500 Subject: [PATCH] CI: make bad-barnacle bypass PR auto-response --- .github/workflows/auto-response.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-response.yml b/.github/workflows/auto-response.yml index 15e31000b24..c571cd1d1cf 100644 --- a/.github/workflows/auto-response.yml +++ b/.github/workflows/auto-response.yml @@ -407,8 +407,12 @@ jobs: "Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch."; if (pullRequest) { - // `bad-barnacle` exempts PRs that Barnacle incorrectly marked dirty. - if (labelSet.has(dirtyLabel) && !labelSet.has(badBarnacleLabel)) { + if (labelSet.has(badBarnacleLabel)) { + core.info(`Skipping PR auto-response checks for #${pullRequest.number} because ${badBarnacleLabel} is present.`); + return; + } + + if (labelSet.has(dirtyLabel)) { await github.rest.issues.createComment({ owner: context.repo.owner, repo: context.repo.repo,