Skip to content

Conversation

yxtay
Copy link
Contributor

@yxtay yxtay commented Feb 6, 2025

Fixes #23

This changes the flow to have github_action[bot] create tags and commit on a branch and merge the branch to the main branch using a PR.

The reason for this approach is that there is no bypass for github_action[bot] to push to protected branch.

This PR only fixes the commits of future tags. The existing tags is unaffected and is still broken for pre-commit autoupdate. The best way to fix that is to checkout the tags and create a PR of the commits to the main branch. Probably checking out only the latest tag is necessary.

Sample run

@yxtay yxtay closed this Feb 7, 2025
@yxtay yxtay deleted the feat/protected-branch branch February 7, 2025 02:55
@yxtay yxtay restored the feat/protected-branch branch February 7, 2025 02:55
@yxtay yxtay reopened this Feb 7, 2025
@ematipico ematipico merged commit ccab109 into biomejs:main Feb 7, 2025
2 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.

github_action[bot] unable to push to main branch

2 participants