[v6] Throw error early if repository is in a detached state#357
Merged
stefanzweifel merged 4 commits intov6-nextfrom Feb 5, 2025
Merged
[v6] Throw error early if repository is in a detached state#357stefanzweifel merged 4 commits intov6-nextfrom
stefanzweifel merged 4 commits intov6-nextfrom
Conversation
Merged
Merged
1 task
crookm
pushed a commit
to interflare/orleans-marten
that referenced
this pull request
Mar 23, 2026
…tion to v6 (#30) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [https://enduringtech.dev/actions/commit-action](https://enduringtech.dev/actions/commit-action) | action | major | `v5.2.0` -> `v6.0.1` | --- ### Release Notes <details> <summary>actions/commit-action (https://enduringtech.dev/actions/commit-action)</summary> ### [`v6.0.1`](https://enduringtech.dev/actions/commit-action/blob/HEAD/CHANGELOG.md#v601---2025-06-11) [Compare Source](https://enduringtech.dev/actions/commit-action/compare/v6.0.0...v6.0.1) ##### Fixed - Disable Check if Repo is in Detached State ([#​379](stefanzweifel/git-auto-commit-action#379)) [@​stefanzweifel](https://github.com/@​stefanzweifel) ### [`v6.0.0`](https://enduringtech.dev/actions/commit-action/blob/HEAD/CHANGELOG.md#v600---2025-06-10) [Compare Source](https://enduringtech.dev/actions/commit-action/compare/v5.2.0...v6.0.0) ##### Added - Throw error early if repository is in a detached state ([#​357](stefanzweifel/git-auto-commit-action#357)) ##### Fixed - Fix PAT instructions with Dependabot ([#​376](stefanzweifel/git-auto-commit-action#376)) [@​Dreamsorcerer](https://github.com/@​Dreamsorcerer) ##### Removed - Remove support for `create_branch`, `skip_checkout`, `skip_Fetch` ([#​314](stefanzweifel/git-auto-commit-action#314)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4zOC4yIiwidXBkYXRlZEluVmVyIjoiNDEuMzguMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Reviewed-on: https://enduringtech.dev/interflare/orleans-marten/pulls/30 Reviewed-by: Matt <mattlcrook@icloud.com> Co-authored-by: Renovate Bot <renovate.svc@enduringtech.dev> Co-committed-by: Renovate Bot <renovate.svc@enduringtech.dev>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.