]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
.github/workflows: switch to pull_request_target trigger 70689/head
authorPatrick Donnelly <pdonnell@ibm.com>
Thu, 30 Jul 2026 00:18:57 +0000 (20:18 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Thu, 30 Jul 2026 01:05:05 +0000 (21:05 -0400)
commit9336dcba488298e6fa3ed32f0fbde6be2c3d17cf
tree18f468aa8e54f426b139e00c05c5fb3b3af34414
parente82ccd0873677ffd0cac1d081ecdea512dbc05bd
.github/workflows: switch to pull_request_target trigger

Switch the trigger from `pull_request` to `pull_request_target` so that
the workflow definition on `main` is evaluated for PRs targeting active
release branches (main, umbrella, tentacle, squid). This allows the check
to run cleanly across release branches without requiring workflow file
backports to each branch.

Additionally:
- Update `src/script/verify-qa` to accept an optional target directory argument ($1).
- Run the trusted `verify-qa` script from `main` against the checked-out PR directory (`./pull_request`).

The concern of exfiltrating secrets is important but not relevant here:
we're not using the secrets in the definition and we explicitly
downgrade the github token to `read` permission.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
.github/workflows/qa-symlink.yml
src/script/verify-qa