]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
.github/workflows/releng-audit: cleanup branches
authorPatrick Donnelly <pdonnell@ibm.com>
Sun, 12 Jul 2026 15:52:29 +0000 (11:52 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Sun, 12 Jul 2026 17:05:52 +0000 (13:05 -0400)
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
.github/workflows/releng-audit.yaml

index 50312a1591dcc4a39e222172c486b7222fb66f13..5875f4817e904f1dd5d937c347d4a1b7625ee7cf 100644 (file)
@@ -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);