Skip to content

[v6] Throw error early if repository is in a detached state#357

Merged
stefanzweifel merged 4 commits intov6-nextfrom
v6-detect-detached-state
Feb 5, 2025
Merged

[v6] Throw error early if repository is in a detached state#357
stefanzweifel merged 4 commits intov6-nextfrom
v6-detect-detached-state

Conversation

@stefanzweifel
Copy link
Copy Markdown
Owner

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 merged commit ed295bd into v6-next Feb 5, 2025
2 checks passed
@stefanzweifel stefanzweifel deleted the v6-detect-detached-state branch February 5, 2025 17:00
@stefanzweifel stefanzweifel mentioned this pull request Jun 1, 2025
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 ([#&#8203;379](stefanzweifel/git-auto-commit-action#379)) [@&#8203;stefanzweifel](https://github.com/@&#8203;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 ([#&#8203;357](stefanzweifel/git-auto-commit-action#357))

##### Fixed

- Fix PAT instructions with Dependabot ([#&#8203;376](stefanzweifel/git-auto-commit-action#376)) [@&#8203;Dreamsorcerer](https://github.com/@&#8203;Dreamsorcerer)

##### Removed

- Remove support for `create_branch`, `skip_checkout`, `skip_Fetch` ([#&#8203;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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant