]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
.github/workflows/releng-audit: support testing via alternate branch 70134/head
authorPatrick Donnelly <pdonnell@ibm.com>
Sat, 11 Jul 2026 19:19:16 +0000 (15:19 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Sat, 11 Jul 2026 19:20:36 +0000 (15:20 -0400)
commit5708bd5fe06bcee45d21f3ebaf20fbcc0675c5f1
tree2d98e6c1204fc6f1aed0c051281617ccbb57f344
parent8f7a85855e1e9e3806d61527b4be8dbab58cc93c
.github/workflows/releng-audit: support testing via alternate branch

Allow authorized maintainers and release managers to test audit workflow
changes on a pull request using an alternate repository branch.

When a user comments `/audit test-branch [branch-name]` on a PR:
* Verify user authorization and confirm the target branch exists via the
  GitHub API (defaulting to `testing/releng-audit` if unspecified).
* If valid, activate audit execution and set the `checkout_ref` output
  to dynamically override the repository checkout target.
* If the branch does not exist or the user lacks permissions, fail the
  job cleanly and leave an explanatory comment.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
.github/workflows/releng-audit.yaml