Commit 3cbd34a
committed
Resolve shared workflow repo/sha before checkout
Add a step that extracts workflow_repository and workflow_sha from the job context (using jq on toJSON(job)), validates them, and exposes them as step outputs via GITHUB_OUTPUT. Update the subsequent actions/checkout for .lizardbyte-common to use those outputs (steps.shared-workflow.outputs.repository and .sha) instead of job.workflow_repository/job.workflow_sha. This ensures the reusable/shared workflow repository and commit are resolved reliably before performing the checkout.1 parent 1a58b3b commit 3cbd34a
1 file changed
Lines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
24 | 40 | | |
25 | 41 | | |
26 | 42 | | |
27 | | - | |
28 | | - | |
| 43 | + | |
| 44 | + | |
29 | 45 | | |
30 | 46 | | |
31 | 47 | | |
| |||
0 commit comments