joininbox/.github/workflows
autoblitzbot 4f992c5333
fix(ci): fall back to GITHUB_REF_NAME when GITHUB_HEAD_REF is empty (#197)
* 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>
2026-08-15 15:15:30 +02:00
..
amd64-image-build.yml fix(ci): fall back to GITHUB_REF_NAME when GITHUB_HEAD_REF is empty (#197) 2026-08-15 15:15:30 +02:00
amd64-image-test.yml chore: migrate the watch-only Bitcoin Core wallet to use descriptors (#177) 2026-08-13 11:57:42 +02:00
arm64-rpi-image-build.yml fix(ci): fall back to GITHUB_REF_NAME when GITHUB_HEAD_REF is empty (#197) 2026-08-15 15:15:30 +02:00
packer-syntax-check.yml fix(build): use rolling Debian ISO, verify ISO checksum with PGP, add packer syntax checks (#181) 2026-03-29 15:31:05 +02:00
spelling.yml fix typos and add spelling (#136) 2023-07-23 08:35:04 +02:00
test-shellcheck.yml feat: add shellcheck test to github actions (#174) 2025-06-06 23:10:54 +02:00