Comments (1)
You can still have a protected main
branch in an AutoPub context, in which force-pushing to and deletion of the primary branch are not allowed. No problems there at all.
But requiring all commits to be made to a non-protected branch and then submitted via a pull request, on the other hand, will not work with the current flow because AutoPub needs to be able to make and push commits directly to the primary branch.
To fix this, remove the requirement that all commits to the primary branch must be made in the form of pull requests:
https://github.com/ORG-NAME/REPO-NAME/settings/branches → Branch protection rules → main
→ Edit → un-check: Require a pull request before merging
There may be a way to use the GitHub API to automatically create a pull request and then immediately merge that pull request. Perhaps when the extensible plugin system work by @patrick91 has been merged, you could write a plugin that handles that kind of automated PR+merge flow.
from autopub.
Related Issues (20)
- Migrate commans Cleo command-line HOT 2
- Write CHANGELOG header by default HOT 1
- Support python 3.6? HOT 2
- Add option to increase verbosity/logging
- Add contributors names to changelog HOT 2
- Explicit no release HOT 2
- Include dates with release HOT 3
- Allow to publish prerelease from PR HOT 3
- Support for plugins HOT 4
- Update "contributed by" message to mention contributor
- Issue with release `Release with tag_name 0.xxx.0 not found` HOT 7
- autopub fails to push release to PyPI HOT 2
- Ideas/proposal for AutoPub 1.0 HOT 5
- Error with httpx HOT 1
- Improve documentation? HOT 2
- 404 Client Error: Not Found for url HOT 3
- Ensure `CHANGELOG.md` has a trailing newline
- De-couple commit tagging from GitHub release function HOT 1
- Question on Autopub compatibility with different changelog and release methods HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autopub.