Skip to content

fix(ci): re-init git in container if .git is missing for commit step - #8

Merged
mshafiee merged 1 commit into
mainfrom
fix/ci-commit-step-git-init
Jul 22, 2026
Merged

fix(ci): re-init git in container if .git is missing for commit step#8
mshafiee merged 1 commit into
mainfrom
fix/ci-commit-step-git-init

Conversation

@mshafiee

Copy link
Copy Markdown
Contributor

The debian:trixie container doesn't reliably have a .git directory after checkout. This makes the commit step re-initialize git if .git is absent (git init + fetch + checkout), add safe.directory for the workspace, and configure the remote URL with the GitHub token for authenticated push.

The debian:trixie container may not have .git after checkout. Add
safe.directory config and re-initialize (git init + fetch) if .git is
absent, with token-based remote URL for push authentication.
@mshafiee
mshafiee merged commit 2b0fb50 into main Jul 22, 2026
2 checks passed
@mshafiee
mshafiee deleted the fix/ci-commit-step-git-init branch July 22, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant