Skip to content

Conversation

@landongrindheim
Copy link
Member

When running this workflow for the first time, we got the following output:

fatal: You are not currently on a branch.
To push the history leading to the current (detached HEAD)
state now, use

    git push origin HEAD:<name-of-remote-branch>

By specifying the ref on checkout, we should be in a valid state and be able to push.

When running this workflow for the first time, we got the following output:
```
fatal: You are not currently on a branch.
To push the history leading to the current (detached HEAD)
state now, use

    git push origin HEAD:<name-of-remote-branch>
```

By specifying the ref on checkout, we should be in a valid state and be able to push.
@landongrindheim
Copy link
Member Author

@segiddins I think this should resolve the error we saw on first run.

@segiddins segiddins merged commit 38df4b8 into rubygems:main Aug 15, 2025
9 of 13 checks passed
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.

2 participants