From 6509cefb816bf41bc07abd93e70080da2b005ede Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Sun, 12 Jul 2026 11:52:29 -0400 Subject: [PATCH] .github/workflows/releng-audit: cleanup branches Signed-off-by: Patrick Donnelly --- .github/workflows/releng-audit.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/releng-audit.yaml b/.github/workflows/releng-audit.yaml index 50312a1591d..5875f4817e9 100644 --- a/.github/workflows/releng-audit.yaml +++ b/.github/workflows/releng-audit.yaml @@ -80,9 +80,7 @@ jobs: core.info('[Router] Detected /audit retest command. Triggering audit.'); core.setOutput('run_audit', 'true'); return; - } - - if (commentBody.startsWith('/audit test-branch')) { + } else if (commentBody.startsWith('/audit test-branch')) { core.info(`[Router] Validating if user @${actor} is authorized to activate test branch.`); const isAuthorized = await checkAuthorization(actor); @@ -117,9 +115,7 @@ jobs: core.setOutput('run_audit', 'false'); } return; - } - - if (commentBody.startsWith('/audit override')) { + } else if (commentBody.startsWith('/audit override')) { core.info(`[Router] Validating if user @${actor} is authorized to apply override.`); const isAuthorized = await checkAuthorization(actor); -- 2.47.3