mirror of
https://github.com/openoms/joininbox.git
synced 2026-08-19 13:18:11 +02:00
* fix(ci): fall back to GITHUB_REF_NAME when GITHUB_HEAD_REF is empty GITHUB_HEAD_REF is only set for pull_request events. On push to master the branch argument was empty, so the build downloaded https://raw.githubusercontent.com/openoms/joininbox//build_joininbox.sh which 404s and fails the image build (wget exit 8). Use ${GITHUB_HEAD_REF:-${GITHUB_REF_NAME}} so push builds use the pushed branch name. * fix(ci): fall back to master when branch arg is passed empty The workflow-level fallback covers push events, but an explicitly passed empty branch string (branch='') still defeated the scripts' master default and produced the 404 on raw.githubusercontent.com/.../build_joininbox.sh. Guard for empty in both build scripts as belt and braces. --------- Co-authored-by: autoblitzbot <autoblitzbot@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| amd64-image-build.yml | ||
| amd64-image-test.yml | ||
| arm64-rpi-image-build.yml | ||
| packer-syntax-check.yml | ||
| spelling.yml | ||
| test-shellcheck.yml | ||