Skip to content

chore(deps-dev): Bump cross-spawn from 7.0.6 to 7.1.2 - #635

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/cross-spawn-7.1.2
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/cross-spawn-7.1.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 5, 2026

Copy link
Copy Markdown
Contributor

Bumps cross-spawn from 7.0.6 to 7.1.2.

Release notes

Sourced from cross-spawn's releases.

v7.1.2

Bug fixes

  • Batch files found in PATH see their own directory again (#203, #204). Since 7.1.0, a batch file run by its name, e.g. gradle, got the current directory in %~dp0 on Windows, which broke batch files that use it to find their own files, such as Gradle's (Unable to access jarfile). Batch files are now run by the path they resolved to.

v7.1.1

Security

This release fixes a command injection vulnerability that affects Windows only (GHSA-w3gc-668g-rf8f, high).

7.1.0 fixed how arguments are escaped for batch files, but that escaping only applied when cross-spawn detected that the command was a batch file. When the command wasn't written as a plain program name or path, e.g. it contained double quotes or a space, cross-spawn could miss that cmd.exe would run a batch file, and escape the arguments for a regular program instead, which allowed running arbitrary commands.

Please upgrade. cross-spawn@6 users can upgrade to 6.0.8.

Behaviour change

On Windows, commands that run through cmd.exe are now always quoted. As on other platforms, the command must be the name or path of a single program, with its arguments passed in args: spawn('npm install') now fails with ENOENT instead of running npm with install. Also, cmd.exe's message for a command it can't find now shows the command in quotes, e.g. '"foo"' is not recognized as an internal or external command. See the Windows argument escaping section of the README.

v7.1.0

Security

This release fixes two vulnerabilities that affect Windows only:

  • Command injection when spawning batch files (GHSA-ghv9-86vm-4v8m, high). Arguments passed to batch files outside node_modules/.bin, such as npm.cmd or globally installed package shims, could break out of their quotes and run arbitrary commands. %VAR% and !VAR! could also be expanded in some environments.
  • Argument injection via backslashes before a double quote (GHSA-m6qr-m48x-3xhh, medium). Since 7.0.4, arguments with two or more backslashes before a double quote, or at their end, could split into extra arguments or swallow the following ones.

Please upgrade. cross-spawn@6 users can upgrade to 6.0.7.

Thanks to Duong Bui Thai for privately reporting both, to @​mohd-akram for reporting the batch file injection in #171, and to @​trackoor and @​ogffx for independently reporting and fixing the backslash issue in #188 and #190.

Behaviour changes

These only affect Windows, when a command runs through cmd.exe, i.e. batch files and other non-executable commands:

  • Line breaks now throw a TypeError. cmd.exe can't escape them, so arguments with line breaks used to be silently cut short. Both spawn() and spawn.sync() now throw synchronously instead.
  • Inner double quotes are escaped as "" for batch files. Programs called by batch files that don't follow the Microsoft C runtime conventions, such as those written in Go or that use CommandLineToArgvW, may now split arguments containing double quotes differently.
  • cmd.exe runs with /e:on /v:off. This also applies to the batch file itself, e.g. one relying on delayed expansion being enabled in the registry.
  • Batch files that read an argument unquoted with %~1 remain unsafe, as they always were. Please quote it, e.g. "%~1", or forward the arguments with %*.

Please see the new Windows argument escaping section of the README.

Other changes

  • Close the file descriptor when reading a shebang fails (#187). Thanks to @​xiehuanyi.
Changelog

Sourced from cross-spawn's changelog.

7.1.2 (2026-11-29)

Bug Fixes

  • run batch files by their resolved path on Windows (fe027b8), closes #203

7.1.1 (2026-11-28)

Bug Fixes

  • always quote commands run through cmd.exe (d0ead35)

7.1.0 (2026-11-28)

Bug Fixes

  • close the file descriptor when reading a shebang fails (9924b88)
  • escape commands and arguments safely when running them through cmd.exe (244ffea)
Commits
  • 9bfd202 chore(release): 7.1.2
  • fe027b8 fix: run batch files by their resolved path on Windows
  • f408280 chore(release): 7.1.1
  • d0ead35 fix: always quote commands run through cmd.exe
  • a03242e chore: upgrade dev dependencies
  • 515dc55 chore(release): 7.1.0
  • 4fcac7b docs: document Windows argument escaping and its limitations
  • 244ffea fix: escape commands and arguments safely when running them through cmd.exe
  • 9924b88 fix: close the file descriptor when reading a shebang fails
  • 462a846 test: support unit tests next to source files
  • Additional commits viewable in compare view
Install script changes

This version adds prepare script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.6 to 7.1.2.
- [Release notes](https://github.com/moxystudio/node-cross-spawn/releases)
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.6...v7.1.2)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-version: 7.1.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 5, 2026
@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

🔨 Webpack Bundle Smoke Test

Status ✅ Passed
Build Time 00:06.91
Bundle Size 486.3 KB

Updated: Sat, 05 Dec 2026 16:58:04 GMT

@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

🐳 Docker Base Image Available

A new base Docker image has been built and pushed for this PR:

Image: ghcr.io/orionrobots/orionrobots-site.base:635

How to use this image:

# Pull the image
docker pull ghcr.io/orionrobots/orionrobots-site.base:635

# Run with the image
docker run -it ghcr.io/orionrobots/orionrobots-site.base:635 bash

For local development:

You can use this image as a base for testing changes without rebuilding dependencies.

This comment is automatically updated when the base image is rebuilt.

@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

✅⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Max errors Warnings Elapsed time
✅ ACTION actionlint 9 0 0 0.16s
⚠️ ACTION zizmor 9 1 0 0.29s
✅ BASH bash-exec 5 0 0 0.03s
✅ BASH shellcheck 5 0 0 0.44s
⚠️ BASH shfmt 5 4 0 0.01s
⚠️ C cppcheck 8 8 0 0.07s
⚠️ CPP cppcheck 8 8 0 0.07s
✅ JAVASCRIPT eslint 19 0 0 6.24s
✅ JSON npm-package-json-lint yes no no 0.78s
✅ JSON v8r 17 0 0 13.98s
✅ REPOSITORY betterleaks yes no no 1.78s
✅ REPOSITORY git_diff yes no no 0.75s
✅ REPOSITORY grype yes no no 101.27s
✅ REPOSITORY secretlint yes no no 15.32s
✅ REPOSITORY syft yes no no 2.89s
✅ REPOSITORY trivy yes no no 13.86s
✅ REPOSITORY trivy-sbom yes no no 1.18s
✅ REPOSITORY trufflehog yes no no 5.54s
✅ TYPESCRIPT eslint 3 0 0 4.65s
✅ TYPESCRIPT ts-standard 3 0 0 6.57s
✅ XML xmllint 1 0 0 10.04s
✅ YAML v8r 17 0 0 14.35s

Detailed Issues

⚠️ C / cppcheck - 8 errors
Checking assets/2013-11-14-explorer-wall-avoider-kit/alternative_demo/DistanceSensor.h ...
assets/2013-11-14-explorer-wall-avoider-kit/alternative_demo/DistanceSensor.h:3:1: error: Code 'classSR04{' is invalid C code. [syntaxError]
class SR04 {
^
1/8 files checked 12% done
Checking assets/2013-11-14-explorer-wall-avoider-kit/alternative_demo/Motors.h ...
assets/2013-11-14-explorer-wall-avoider-kit/alternative_demo/Motors.h:3:1: error: Code 'classMotor{' is invalid C code. [syntaxError]
class Motor {
^
2/8 files checked 19% done
Checking assets/2013-11-14-explorer-wall-avoider-kit/demo_sketch/DistanceSensor.h ...
assets/2013-11-14-explorer-wall-avoider-kit/demo_sketch/DistanceSensor.h:3:1: error: Code 'classSR04{' is invalid C code. [syntaxError]
class SR04 {
^
3/8 files checked 31% done
Checking assets/2013-11-14-explorer-wall-avoider-kit/demo_sketch/TurtleMotors.h ...
assets/2013-11-14-explorer-wall-avoider-kit/demo_sketch/TurtleMotors.h:3:1: error: Code 'classMotor{' is invalid C code. [syntaxError]
class Motor {
^
4/8 files checked 49% done
Checking galleries/2013-11-14-explorer-wall-avoider-kit/alternative_demo/DistanceSensor.h ...
galleries/2013-11-14-explorer-wall-avoider-kit/alternative_demo/DistanceSensor.h:3:1: error: Code 'classSR04{' is invalid C code. [syntaxError]
class SR04 {
^
5/8 files checked 62% done
Checking galleries/2013-11-14-explorer-wall-avoider-kit/alternative_demo/Motors.h ...
galleries/2013-11-14-explorer-wall-avoider-kit/alternative_demo/Motors.h:3:1: error: Code 'classMotor{' is invalid C code. [syntaxError]
class Motor {
^
6/8 files checked 69% done
Checking galleries/2013-11-14-explorer-wall-avoider-kit/demo_sketch/DistanceSensor.h ...
galleries/2013-11-14-explorer-wall-avoider-kit/demo_sketch/DistanceSensor.h:3:1: error: Code 'classSR04{' is invalid C code. [syntaxError]
class SR04 {
^
7/8 files checked 81% done
Checking galleries/2013-11-14-explorer-wall-avoider-kit/demo_sketch/TurtleMotors.h ...
galleries/2013-11-14-explorer-wall-avoider-kit/demo_sketch/TurtleMotors.h:3:1: error: Code 'classMotor{' is invalid C code. [syntaxError]
class Motor {
^
8/8 files checked 100% done
⚠️ CPP / cppcheck - 8 errors
Checking assets/2013-11-14-explorer-wall-avoider-kit/alternative_demo/DistanceSensor.h ...
assets/2013-11-14-explorer-wall-avoider-kit/alternative_demo/DistanceSensor.h:3:1: error: Code 'classSR04{' is invalid C code. [syntaxError]
class SR04 {
^
1/8 files checked 12% done
Checking assets/2013-11-14-explorer-wall-avoider-kit/alternative_demo/Motors.h ...
assets/2013-11-14-explorer-wall-avoider-kit/alternative_demo/Motors.h:3:1: error: Code 'classMotor{' is invalid C code. [syntaxError]
class Motor {
^
2/8 files checked 19% done
Checking assets/2013-11-14-explorer-wall-avoider-kit/demo_sketch/DistanceSensor.h ...
assets/2013-11-14-explorer-wall-avoider-kit/demo_sketch/DistanceSensor.h:3:1: error: Code 'classSR04{' is invalid C code. [syntaxError]
class SR04 {
^
3/8 files checked 31% done
Checking assets/2013-11-14-explorer-wall-avoider-kit/demo_sketch/TurtleMotors.h ...
assets/2013-11-14-explorer-wall-avoider-kit/demo_sketch/TurtleMotors.h:3:1: error: Code 'classMotor{' is invalid C code. [syntaxError]
class Motor {
^
4/8 files checked 49% done
Checking galleries/2013-11-14-explorer-wall-avoider-kit/alternative_demo/DistanceSensor.h ...
galleries/2013-11-14-explorer-wall-avoider-kit/alternative_demo/DistanceSensor.h:3:1: error: Code 'classSR04{' is invalid C code. [syntaxError]
class SR04 {
^
5/8 files checked 62% done
Checking galleries/2013-11-14-explorer-wall-avoider-kit/alternative_demo/Motors.h ...
galleries/2013-11-14-explorer-wall-avoider-kit/alternative_demo/Motors.h:3:1: error: Code 'classMotor{' is invalid C code. [syntaxError]
class Motor {
^
6/8 files checked 69% done
Checking galleries/2013-11-14-explorer-wall-avoider-kit/demo_sketch/DistanceSensor.h ...
galleries/2013-11-14-explorer-wall-avoider-kit/demo_sketch/DistanceSensor.h:3:1: error: Code 'classSR04{' is invalid C code. [syntaxError]
class SR04 {
^
7/8 files checked 81% done
Checking galleries/2013-11-14-explorer-wall-avoider-kit/demo_sketch/TurtleMotors.h ...
galleries/2013-11-14-explorer-wall-avoider-kit/demo_sketch/TurtleMotors.h:3:1: error: Code 'classMotor{' is invalid C code. [syntaxError]
class Motor {
^
8/8 files checked 100% done
⚠️ BASH / shfmt - 4 errors
_package "${package}"
-  done
+    local package
+    for package in "$@"; do
+        evict_package "${package}"
+    done
 }
 
 # Only run when executed, so the tests can source the functions.
 if [[ "${BASH_SOURCE[0]}" == "$0" ]]; then
-  main "$@"
+    main "$@"
 fi
diff .github/scripts/tests/test_evict_ci_images.sh.orig .github/scripts/tests/test_evict_ci_images.sh
--- .github/scripts/tests/test_evict_ci_images.sh.orig
+++ .github/scripts/tests/test_evict_ci_images.sh
@@ -16,29 +16,29 @@
 failure_count=0
 
 assert_equal() {
-  local test_name=$1 expected=$2 actual=$3
-  if [[ "${expected}" == "${actual}" ]]; then
-    echo "ok   ${test_name}"
-  else
-    echo "FAIL ${test_name}: expected [${expected}] got [${actual}]"
-    failure_count=$((failure_count + 1))
-  fi
+    local test_name=$1 expected=$2 actual=$3
+    if [[ "${expected}" == "${actual}" ]]; then
+        echo "ok   ${test_name}"
+    else
+        echo "FAIL ${test_name}: expected [${expected}] got [${actual}]"
+        failure_count=$((failure_count + 1))
+    fi
 }
 
 # Prints one package version as the GitHub API returns it.
 make_version() {
-  local version_id=$1 digest_name=$2 created_at=$3 tags_json=$4
-  printf '{"id":%s,"name":"sha256:%s","created_at":"%s","metadata":{"container":{"tags":%s}}}' \
-    "${version_id}" "${digest_name}" "${created_at}" "${tags_json}"
+    local version_id=$1 digest_name=$2 created_at=$3 tags_json=$4
+    printf '{"id":%s,"name":"sha256:%s","created_at":"%s","metadata":{"container":{"tags":%s}}}' \
+        "${version_id}" "${digest_name}" "${created_at}" "${tags_json}"
 }
 
 # Ids of the versions on stdin, sorted and space separated.
 sorted_ids() {
-  cut --delimiter=' ' --fields=1 | sort --numeric-sort | tr '\n' ' '
+    cut --delimiter=' ' --fields=1 | sort --numeric-sort | tr '\n' ' '
 }
 
 build_versions() {
-  cat <<EOF
+    cat <<EOF
 [
 $(make_version 1 oldest_index 2026-01-01T00:00:00Z "[\"${OLDEST_HASH_TAG}\"]"),
 $(make_version 2 oldest_platform 2026-01-01T00:00:00Z '[]'),
@@ -58,90 +58,90 @@
 # own functions call them, so shellcheck cannot see the calls.
 # shellcheck disable=SC2329
 list_child_digests() {
-  local image_reference=$1
-  if [[ "${image_reference}" == *@sha256:middle_index ]]; then
-    echo sha256:middle_platform
-  fi
+    local image_reference=$1
+    if [[ "${image_reference}" == *@sha256:middle_index ]]; then
+        echo sha256:middle_platform
+    fi
 }
 
 # shellcheck disable=SC2329
 list_versions() {
-  build_versions
+    build_versions
 }
 
 # shellcheck disable=SC2329
 delete_version() {
-  local version_id=$2
-  deleted_ids+=("${version_id}")
+    local version_id=$2
+    deleted_ids+=("${version_id}")
 }
 
 # shellcheck disable=SC2329
 oldest_protected_timestamp() {
-  echo "${OLDEST_PROTECTED}"
+    echo "${OLDEST_PROTECTED}"
 }
 
 test_versions_kept_by_tag() {
-  # Newest 2 hash tags, the cache tag and the non-hash tag. The oldest hash
-  # tag is evictable.
-  # shellcheck disable=SC2034 # read by the sourced script
-  KEEP_NEWEST=2
-  local kept_ids
-  kept_ids=$(list_versions_kept_by_tag <<< "$(build_versions)" | sorted_ids)
-  assert_equal "versions kept by tag" "4 6 7 10 " "${kept_ids}"
+    # Newest 2 hash tags, the cache tag and the non-hash tag. The oldest hash
+    # tag is evictable.
+    # shellcheck disable=SC2034 # read by the sourced script
+    KEEP_NEWEST=2
+    local kept_ids
+    kept_ids=$(list_versions_kept_by_tag <<<"$(build_versions)" | sorted_ids)
+    assert_equal "versions kept by tag" "4 6 7 10 " "${kept_ids}"
 }
 
 test_versions_to_delete() {
-  local keep_digests_file deleted
-  keep_digests_file=$(mktemp)
-  write_keep_digests pkg "$(build_versions)" "${keep_digests_file}" 2> /dev/null
-  deleted=$(list_versions_to_delete "${OLDEST_PROTECTED}" "${keep_digests_file}" \
-    <<< "$(build_versions)" | sorted_ids)
-  rm --force "${keep_digests_file}"
-  # 1 (old hash tag), 2 and 3 (its children) and 8 (orphan) go. 5 is a child
-  # of a kept tag and 9 is too young.
-  assert_equal "versions to delete" "1 2 3 8 " "${deleted}"
+    local keep_digests_file deleted
+    keep_digests_file=$(mktemp)
+    write_keep_digests pkg "$(build_versions)" "${keep_digests_file}" 2>/dev/null
+    deleted=$(list_versions_to_delete "${OLDEST_PROTECTED}" "${keep_digests_file}" \
+        <<<"$(build_versions)" | sorted_ids)
+    rm --force "${keep_digests_file}"
+    # 1 (old hash tag), 2 and 3 (its children) and 8 (orphan) go. 5 is a child
+    # of a kept tag and 9 is too young.
+    assert_equal "versions to delete" "1 2 3 8 " "${deleted}"
 }
 
 test_dry_run_deletes_nothing() {
-  deleted_ids=()
-  DRY_RUN=true evict_package pkg > /dev/null 2>&1
-  assert_equal "dry run deletes nothing" "0" "${#deleted_ids[@]}"
+    deleted_ids=()
+    DRY_RUN=true evict_package pkg >/dev/null 2>&1
+    assert_equal "dry run deletes nothing" "0" "${#deleted_ids[@]}"
 }
 
 test_real_run_deletes() {
-  deleted_ids=()
-  DRY_RUN=false evict_package pkg > /dev/null 2>&1
-  local deleted
-  deleted=$(printf '%s\n' "${deleted_ids[@]}" | sort --numeric-sort | tr '\n' ' ')
-  assert_equal "real run deletes" "1 2 3 8 " "${deleted}"
+    deleted_ids=()
+    DRY_RUN=false evict_package pkg >/dev/null 2>&1
+    local deleted
+    deleted=$(printf '%s\n' "${deleted_ids[@]}" | sort --numeric-sort | tr '\n' ' ')
+    assert_equal "real run deletes" "1 2 3 8 " "${deleted}"
 }
 
 test_pr_numbered_tags() {
-  # .base images are tagged by PR number: newest evictable one is kept, and
-  # `latest` is permanent.
-  local original_pattern=${EVICTABLE_TAG_PATTERN}
-  # shellcheck disable=SC2034 # read by the sourced script
-  EVICTABLE_TAG_PATTERN='^[0-9]+$'
-  # shellcheck disable=SC2034 # read by the sourced script
-  KEEP_NEWEST=1
-  local versions kept_ids
-  versions="[
+    # .base images are tagged by PR number: newest evictable one is kept, and
+    # `latest` is permanent.
+    local original_pattern=${EVICTABLE_TAG_PATTERN}
+    # shellcheck disable=SC2034 # read by the sourced script
+    EVICTABLE_TAG_PATTERN='^[0-9]+$'
+    # shellcheck disable=SC2034 # read by the sourced script
+    KEEP_NEWEST=1
+    local versions kept_ids
+    versions="[
 $(make_version 1 pr_old 2026-01-01T00:00:00Z '["560"]'),
 $(make_version 2 pr_new 2026-02-01T00:00:00Z '["561"]'),
 $(make_version 3 latest_image 2026-01-01T00:00:00Z '["latest"]')
 ]"
-  kept_ids=$(list_versions_kept_by_tag <<< "${versions}" | sorted_ids)
-  assert_equal "PR numbered tags" "2 3 " "${kept_ids}"
-  EVICTABLE_TAG_PATTERN=${original_pattern}
+    kept_ids=$(list_versions_kept_by_tag <<<"${versions}" | sorted_ids)
+    assert_equal "PR numbered tags" "2 3 " "${kept_ids}"
+    EVICTABLE_TAG_PATTERN=${original_pattern}
 }
 
 main() {
-  test_versions_kept_by_tag
-  test_versions_to_delete
-  test_dry_run_deletes_nothing
-  test_real_run_deletes
-  test_pr_numbered_tags
-  exit $((failure_count > 0))
+    test_versions_kept_by_tag
+    test_versions_to_delete
+    test_dry_run_deletes_nothing
+    test_real_run_deletes
+    test_pr_numbered_tags
+    exit $((failure_count > 0))
 }
 
 main
diff .github/scripts/validate-local-build.sh.orig .github/scripts/validate-local-build.sh
--- .github/scripts/validate-local-build.sh.orig
+++ .github/scripts/validate-local-build.sh
@@ -30,9 +30,9 @@
 echo ""
 echo "=== Step 1: Checking http_serve is running ==="
 if ! docker ps --format '{{.Names}}' | grep -q "^${HTTP_SERVE_CONTAINER}$"; then
-  echo "ERROR: ${HTTP_SERVE_CONTAINER} is not running."
-  echo "Start it with: docker compose --profile manual up -d http_serve"
-  exit 1
+    echo "ERROR: ${HTTP_SERVE_CONTAINER} is not running."
+    echo "Start it with: docker compose --profile manual up -d http_serve"
+    exit 1
 fi
 
 # ─── Step 2: Quick HTTP smoke check from host ─────────────────────────────────
@@ -39,17 +39,17 @@
 echo ""
 echo "=== Step 2: HTTP smoke checks (host -> port ${HOST_PORT}) ==="
 for path in "/" "/construction_guide.html" "/tags/arduino/"; do
-  status=$(curl -s -o /dev/null -w "%{http_code}" "http://localhost:${HOST_PORT}${path}")
-  if [[ "$status" == "200" ]]; then
-    echo "  OK  ${path} -> ${status}"
-  else
-    echo "  FAIL ${path} -> ${status}"
-    SMOKE_FAILED=1
-  fi
+    status=$(curl -s -o /dev/null -w "%{http_code}" "http://localhost:${HOST_PORT}${path}")
+    if [[ "$status" == "200" ]]; then
+        echo "  OK  ${path} -> ${status}"
+    else
+        echo "  FAIL ${path} -> ${status}"
+        SMOKE_FAILED=1
+    fi
 done
 if [[ -n "${SMOKE_FAILED:-}" ]]; then
-  echo "ERROR: Smoke checks failed."
-  exit 1
+    echo "ERROR: Smoke checks failed."
+    exit 1
 fi
 
 # ─── Step 3: Verify AVIF images are generated ────────────────────────────────
@@ -62,8 +62,8 @@
 echo "  Post body WebP: ${webp_count}"
 echo "  Thumbnail AVIF: ${thumb_avif}"
 if [[ "$avif_count" -eq 0 ]]; then
-  echo "ERROR: No AVIF images found in _site/assets/images. Was the build run?"
-  exit 1
+    echo "ERROR: No AVIF images found in _site/assets/images. Was the build run?"
+    exit 1
 fi
 
 # ─── Step 4: BDD tests ─────────────────────────────────────────────────────
@@ -71,14 +71,14 @@
 echo "=== Step 4: BDD tests (via Docker, network: ${DOCKER_NETWORK}) ==="
 
 docker run --rm \
-  --network "${DOCKER_NETWORK}" \
-  -e BASE_URL="${BASE_URL}" \
-  -v "${PROJECT_ROOT}/tests:/app/src/tests" \
-  -v "${PROJECT_ROOT}/package.json:/app/src/package.json" \
-  -v "${PROJECT_ROOT}/package-lock.json:/app/src/package-lock.json" \
-  -v "${PROJECT_ROOT}/cucumber.js:/app/src/cucumber.js" \
-  "${TEST_IMAGE}" \
-  npm run test:bdd
+    --network "${DOCKER_NETWORK}" \
+    -e BASE_URL="${BASE_URL}" \
+    -v "${PROJECT_ROOT}/tests:/app/src/tests" \
+    -v "${PROJECT_ROOT}/package.json:/app/src/package.json" \
+    -v "${PROJECT_ROOT}/package-lock.json:/app/src/package-lock.json" \
+    -v "${PROJECT_ROOT}/cucumber.js:/app/src/cucumber.js" \
+    "${TEST_IMAGE}" \
+    npm run test:bdd
 
 echo ""
 echo "=== Validation complete ==="

(Truncated to last 10000 characters out of 19596)
⚠️ ACTION / zizmor - 1 error
INFO zizmor: 🌈 zizmor v1.25.0
 WARN audit:audit{input=Workflow(file://.github/workflows/on_call_build_site.yaml)}: zizmor::audit::unpinned_uses: failed to look up commit for docker/setup-buildx-action@v4.4.1: couldn't list branches for docker/setup-buildx-action
fatal: no audit was performed
'artipacked' audit failed on file://.github/workflows/on_call_build_site.yaml

Caused by:
    0: error in 'artipacked' audit
    1: couldn't list tags for actions/checkout
    2: request error while accessing GitHub API
    3: HTTP status client error (401 Unauthorized) for url (https://github.com/actions/checkout.git/git-upload-pack)


[ACTION_ZIZMOR_ERROR_GITHUB_API_UNREACHABLE] Zizmor could not access a repository referenced by a `uses:` clause via the GitHub API (missing token, insufficient scope, or cross-repo private access).
To allow zizmor to authenticate with GITHUB_TOKEN (or a PAT with `Contents: read-only`), whitelist the variable in your .mega-linter.yml:
ACTION_ZIZMOR_UNSECURED_ENV_VARIABLES:
  - GITHUB_TOKEN
If the referenced workflow is in a private repo outside the current one, provide a PAT with cross-repo access instead of the default GITHUB_TOKEN, or run zizmor in offline mode.

Notices

⚠️ Your configuration references items that have been removed from MegaLinter and are ignored: REPOSITORY_KICS. See Removed linters to find their replacements.

See detailed reports in MegaLinter artifacts

You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@10.2.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,ACTION_ZIZMOR,BASH_EXEC,BASH_SHELLCHECK,BASH_SHFMT,C_CPPCHECK,CPP_CPPCHECK,JAVASCRIPT_ES,JSON_V8R,JSON_NPM_PACKAGE_JSON_LINT,REPOSITORY_GIT_DIFF,REPOSITORY_BETTERLEAKS,REPOSITORY_GRYPE,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,TYPESCRIPT_ES,TYPESCRIPT_STANDARD,XML_XMLLINT,YAML_V8R

MegaLinter is provided by OX Security
Show us your support by starring ⭐ the repository

@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

🏗️ Eleventy Site Build Smoke Test

Status ✅ Passed
Build Time reused build_site artifact
Site Size 529.8 MB
HTML Files 1410

Updated: Sat, 05 Dec 2026 17:01:08 GMT

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants