mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-20 08:30:35 +00:00
refs: https://github.com/scylladb/scylladb/security/advisories/GHSA-wrqg-xx2q-r3fv
- Remove -v and -i flags from curl to prevent credentials from being
logged in workflow output
- Move PR_NUMBER and PR_REPO_NAME into the env block with proper quoting
to prevent shell injection via crafted PR metadata
- Add org membership verification step for pull_request_target events so
that only PRs from scylladb org members can trigger Jenkins CI
Fixes: https://scylladb.atlassian.net/browse/SCYLLADB-796
Closes scylladb/scylladb#28785
(cherry picked from commit 98494e08eb)
Closes scylladb/scylladb#28809