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-16 03:01:40 +02:00 committed by GitHub
parent 1b7207f3e6
commit 5d65063987
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

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 }}"
}
})

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"
}