Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change automatic release to not push to main #395

Merged
merged 2 commits into from
Mar 7, 2024
Merged

Conversation

rihi
Copy link
Collaborator

@rihi rihi commented Mar 4, 2024

#392 doesn't work with the branch protection rules of the repository. The github action tries to push a commit to main, which gets rejected.

This PR fixes this by changing the automatic release action to not push the newly created commit to main. Instead, the commit is simply tagged and only the tag is pushed. This means that the release commit is not contained in the main branch, which I think is fine though.

rihi added 2 commits March 4, 2024 17:43
Changes automatic release to not push release commits to any branch. Instead, the commit is simply tagged and only the tag is pushed. This results in the tags to not be included in any branch.
@rihi rihi self-assigned this Mar 4, 2024
@steffenenders steffenenders enabled auto-merge (squash) March 7, 2024 14:15
@steffenenders steffenenders merged commit 00c0dd2 into main Mar 7, 2024
1 of 2 checks passed
@steffenenders steffenenders deleted the fix-release branch March 7, 2024 14:18
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.

None yet

2 participants