Runs
Check#247
- Event
- push
- Branch
- main
- Commit
- 0529a48
- Started
- Duration
- 14:36
Synced from GitHub
check
Took 0:03Steps
- 1Set up job, Success0:00
- 2Summarize required checks and enforce the result, Success0:00
- 3Complete job, Success0:01
Whole log, 8 KB
Current runner version: '2.338.2'
▸ Runner Image Provisioner
Hosted Compute Agent
Version: 20261111.635
Commit: b8a594ea514ff44cadb5342986c68b1eac6e22ed
Build Date: 2026-11-11T01:49:01Z
Worker ID: {5f40fc80-7536-4cd1-8e90-dee76c9c6ed9}
Region: westus3
Cloud: Azure
▸ Operating System
Ubuntu
26.04.1
LTS
▸ Runner Image
Image: ubuntu-26.04
Version: 20261122.9.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu26/20261122.9/images/ubuntu/Ubuntu2604-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu26%2F20261122.9
▸ GITHUB_TOKEN Permissions
Contents: read
Metadata: read
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: check
▸ Run # A reference is complete only with a numeric run ID and attempt and the URL of that run
# A reference is complete only with a numeric run ID and attempt and the URL of that run
complete() {
[[ "$1" =~ ^[1-9][0-9]*$ && "$2" =~ ^[1-9][0-9]*$ && "$3" == "https://github.com/$GITHUB_REPOSITORY/actions/runs/$1" ]]
}
# A reuse counts only from a lookup job that succeeded, because a failed job can still leave outputs behind. A
# failed lookup runs the actual checks, and their success is as good as any reuse
mode=ordinary
if [ "$REUSE_RESULT" = success ]; then
if [ "$REUSED" = true ] && complete "$RUN_ID" "$RUN_ATTEMPT" "$RUN_URL"; then
mode=reuse
elif [ "$VERSION_ONLY" = true ] && complete "$PARENT_RUN_ID" "$PARENT_RUN_ATTEMPT" "$PARENT_RUN_URL"; then
mode=version-only
fi
fi
# The npm release checks always count, because they report their own reuse. A reuse of a whole Check skips the
# other jobs. A version-only change runs the website and contribution checks, because the website builds its
# changelog page and search from the new notes, and skips workflow lint and the browser
case "$mode" in
reuse) want_tooling=skipped want_workflows=skipped want_browser=skipped ;;
version-only) want_tooling=success want_workflows=skipped want_browser=skipped ;;
*) want_tooling=success want_workflows=success want_browser=success ;;
esac
status=0
failed=""
table=""
judge() {
case "$2" in
success) word=passed ;;
failure) word=failed ;;
cancelled | skipped) word="$2" ;;
*) word="not reported" ;;
esac
table+="| $1 | $word |"$'\n'
if [ "$2" != "$3" ]; then
status=1
failed+="${failed:+, }$1"
fi
}
judge "npm release checks" "$NPM_RESULT" success
judge "Website and contribution checks" "$TOOLING_RESULT" "$want_tooling"
judge "Workflow lint and security audit" "$WORKFLOWS_RESULT" "$want_workflows"
judge "Documentation browser checks" "$BROWSER_RESULT" "$want_browser"
{
printf '## Required checks\n\n'
if [ "$status" -ne 0 ]; then
printf 'Did not pass: %s\n\n' "$failed"
elif [ "$mode" = reuse ]; then
printf 'Passed by reuse. An earlier Check run passed for identical content, so the website, workflow lint and browser jobs did not run again\n\nReused run: %s\n\n' "$RUN_URL"
elif [ "$mode" = version-only ]; then
printf 'Passed as a version-only change. Only release version files changed from the parent commit, whose content passed Check, so only the npm release checks and the website and contribution checks ran\n\nParent commit Check: %s\n\n' "$PARENT_RUN_URL"
else
printf 'All four required jobs passed, including the npm release checks on both Node consumer versions\n\n'
fi
printf '| Job | Result |\n| --- | --- |\n%s\n### Next action\n\n' "$table"
if [ "$status" -eq 0 ]; then
printf 'Nothing to fix. Live sandbox checks and publishing are not part of Check\n'
else
printf 'Open the jobs listed above, their summaries name the failing checks and how to reproduce them. Then push a fix or re-run all jobs\n'
fi
} >> "$GITHUB_STEP_SUMMARY"
exit "$status"
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
REUSE_RESULT: success
REUSED: false
RUN_ID:
RUN_ATTEMPT:
RUN_URL:
VERSION_ONLY: false
PARENT_RUN_ID:
PARENT_RUN_ATTEMPT:
PARENT_RUN_URL:
NPM_RESULT: success
TOOLING_RESULT: success
WORKFLOWS_RESULT: success
BROWSER_RESULT: success
Cleaning up orphan processes