semantic-release / semantic-release/git
Allow pushing to another branch / manually pushing
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 339
- Forks
- 75
- Avg merge
- 5h 15m
- Merged PRs (30d)
- 6
Description
Due to the way GitHub Actions work, it's currently impossible to use this plugin on a branch that has required status checks. Hopefully this will change, but in the meantime it would be useful if we could control the pushing more granularly.
Specifically what I would like to do to work around the GHA limitations is to:
- cut the new release
- push the resulting commit to a new branch
- open a PR
- use mergify to auto-merge it back in.
The problem is that I can't easily do step 2, because this package has no configuration (at least none that I could find) to control the pushing of the commit. It would be useful if there was a setting to either control which branch gets pushed to, or, even better, just a setting to say "don't push". That way the commit could be made automatically, but then we have to deal with it manually afterwards, which allows for much finer control.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the plugin's existing commit and push behavior and its configuration entry points. Determine how to support selecting a target branch or suppressing the push while still creating the release commit. Done means either workflow can create the commit and then allow the user to open and merge a PR manually.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, javascript
- Domain
- release
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100