GitHub Actions: Explicitly pass github username and commit sha (#104079)

Explicitly pass github username and commit sha

Co-authored-by: Marco de Abreu <18629099+marcoabreu@users.noreply.github.com>
This commit is contained in:
Marco de Abreu
2025-04-15 20:01:40 -05:00
committed by GitHub
co-authored by Marco de Abreu
parent 1b7207f3e6
commit 5d65063987
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -40,7 +40,9 @@ jobs:
inputs: {
src_repo: "${{ github.repository }}",
src_ref: "${{ github.head_ref }}",
src_sha: "${{ github.sha }}",
patch_repo: "${{ github.repository }}-security-patches",
patch_ref: "${{ github.base_ref }}"
patch_ref: "${{ github.base_ref }}",
triggering_github_handle: "${{ github.event.sender.login }}"
}
})
+2 -1
View File
@@ -34,8 +34,9 @@ jobs:
workflow_id: 'mirror-branch-and-apply-patches-event.yml',
ref: 'main',
inputs: {
ref: "${{ github.ref_name }}",
src_ref: "${{ github.ref_name }}",
src_repo: "${{ github.repository }}",
src_sha: "${{ github.sha }}",
dest_repo: "${{ github.repository }}-security-mirror",
patch_repo: "${{ github.repository }}-security-patches"
}