fix: replace actions/checkout@v4 with manual git checkout #6

Merged
gabogg merged 2 commits from dev into master 2026-06-23 01:38:00 +00:00
Owner

The maven:3-eclipse-temurin-21 container doesn't have Node.js, so actions/checkout@v4 fails with 'exec: node: not found'.

Replaced with a manual git checkout using:

  • git init + git remote add + git fetch --depth=1 + git checkout FETCH_HEAD
  • Uses the built-in GITHUB_TOKEN for authentication
  • Much lighter dependency: only needs git (which the maven image has)

This is the last blocker after fixing the Docker socket permission issue.

The maven:3-eclipse-temurin-21 container doesn't have Node.js, so actions/checkout@v4 fails with 'exec: node: not found'. Replaced with a manual git checkout using: - `git init` + `git remote add` + `git fetch --depth=1` + `git checkout FETCH_HEAD` - Uses the built-in GITHUB_TOKEN for authentication - Much lighter dependency: only needs git (which the maven image has) This is the last blocker after fixing the Docker socket permission issue.
fix: replace actions/checkout@v4 with manual git checkout
All checks were successful
CI / build-and-test (pull_request) Successful in 3m33s
656a45cf45
The maven:3-eclipse-temurin-21 container doesn't have Node.js,
so actions/checkout@v4 can't run there.

Using git init + fetch + checkout with the built-in GITHUB_TOKEN
instead. This avoids needing Node.js or a separate checkout action.
gabogg merged commit 539b1b597a into master 2026-06-23 01:38:00 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
PCivil/inventory-system!6
No description provided.