[v6] Throw error early if repository is in a detached state by stefanzweifel · Pull Request #357 · stefanzweifel/git-auto-commit-action (original) (raw)

Conversation

@stefanzweifel

This PR adds a new guard to check if the repository is in a detached state or not.
git-auto-commit does not work properly when the repo is in this state.

By throwing an error early on, we prevent wasting precious runner minutes and can provide a better error message.

@stefanzweifel

@stefanzweifel

@stefanzweifel

@stefanzweifel

crookm pushed a commit to interflare/orleans-marten that referenced this pull request

Mar 23, 2026

crookm pushed a commit to interflare/dataprotection-marten that referenced this pull request

Apr 15, 2026

crookm pushed a commit to crookm/anvil that referenced this pull request

Apr 15, 2026

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

Labels

1 participant

@stefanzweifel