Skip to content

Commit 663c7ee

Browse files
committed
fix: use the right sha
1 parent 54551e7 commit 663c7ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/kratix.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
script: |
3030
const statusContext = 'ci-tests';
3131
const runId = process.env.GITHUB_RUN_ID || 'unknown';
32-
const sha = process.env.GITHUB_SHA || '${{ github.sha }}';
32+
const sha = '${{ github.event.inputs.sha }}'
3333
3434
try {
3535
await github.rest.repos.createCommitStatus({
@@ -262,7 +262,7 @@ jobs:
262262
script: |
263263
const statusContext = 'ci-tests';
264264
const runId = process.env.GITHUB_RUN_ID || 'unknown';
265-
const sha = process.env.GITHUB_SHA || '${{ github.sha }}';
265+
const sha = '${{ github.event.inputs.sha }}'
266266
267267
// Collect job results from workflow context
268268
const jobResults = [

0 commit comments

Comments
 (0)