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>
pull/104082/head
Marco de Abreu 3 months ago committed by GitHub
parent 1b7207f3e6
commit 5d65063987
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      .github/workflows/pr-patch-check-event.yml
  2. 3
      .github/workflows/sync-mirror-event.yml

@ -40,7 +40,9 @@ jobs:
inputs: { inputs: {
src_repo: "${{ github.repository }}", src_repo: "${{ github.repository }}",
src_ref: "${{ github.head_ref }}", src_ref: "${{ github.head_ref }}",
src_sha: "${{ github.sha }}",
patch_repo: "${{ github.repository }}-security-patches", patch_repo: "${{ github.repository }}-security-patches",
patch_ref: "${{ github.base_ref }}" patch_ref: "${{ github.base_ref }}",
triggering_github_handle: "${{ github.event.sender.login }}"
} }
}) })

@ -34,8 +34,9 @@ jobs:
workflow_id: 'mirror-branch-and-apply-patches-event.yml', workflow_id: 'mirror-branch-and-apply-patches-event.yml',
ref: 'main', ref: 'main',
inputs: { inputs: {
ref: "${{ github.ref_name }}", src_ref: "${{ github.ref_name }}",
src_repo: "${{ github.repository }}", src_repo: "${{ github.repository }}",
src_sha: "${{ github.sha }}",
dest_repo: "${{ github.repository }}-security-mirror", dest_repo: "${{ github.repository }}-security-mirror",
patch_repo: "${{ github.repository }}-security-patches" patch_repo: "${{ github.repository }}-security-patches"
} }

Loading…
Cancel
Save