Skip to content

Commit f02afd4

Browse files
authored
Merge pull request #4049 from github/mbg/start-proxy/job-uuid
Generate job UUID in `start-proxy` action
2 parents 9130ce0 + d57c3ff commit f02afd4

14 files changed

Lines changed: 446 additions & 166 deletions

.github/workflows/__job-run-uuid-sarif.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/entry-points.js

Lines changed: 111 additions & 87 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pr-checks/checks/job-run-uuid-sarif.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ steps:
2121
run: |
2222
cd "$RUNNER_TEMP/results"
2323
actual=$(jq -r '.runs[0].properties.jobRunUuid' javascript.sarif)
24-
if [[ "$actual" != "$JOB_RUN_UUID" ]]; then
25-
echo "Expected SARIF output to contain job run UUID '$JOB_RUN_UUID', but found '$actual'."
24+
if [[ "$actual" != "$CODEQL_ACTION_JOB_RUN_UUID" ]]; then
25+
echo "Expected SARIF output to contain job run UUID '$CODEQL_ACTION_JOB_RUN_UUID', but found '$actual'."
2626
exit 1
2727
else
2828
echo "Found job run UUID '$actual'."

0 commit comments

Comments
 (0)