Comments (4)
This sounds really arbitrary to me. I understand (to some extent 😉 ) that you might require a certain pattern for your other branches as maybe they need to reference some tracker issue numbers or whatever, but it should be totally possible to customize this on your end. I mean - it should be possible to extend your validation rules with special cases for our branch names.
it would be great to have control over as we have with title and commit msg
Customizing those seems like a much more popular option than customizing the branch name. I'm not 100% opposed to making this configurable, but your feature request really comes as a quirky one to me. I'd like to discuss alternatives first.
from action.
@Andarist one good reason to disallow path separators in branch names is because when it comes down to it, refs are stored in .git
as files and directories. So there is a scenario like this:
- Dev A pushes branch
foo
to remote. - Dev B pushes branch
foo/bar
to remote. - CI cannot run tests on
foo/bar
because the git metadata is unavailable.
For this reason, we have a global rule across our whole organisation that disallows path-separators in branch names. It has bitten us in practice multiple times and requires manual git-surgery to fix. So it would be great if this issue could be reconsidered.
from action.
We don't use folders in branch names (what / does) and use only lower kebab...it would be great to have control over as we have with title and commit msg
from action.
Why can't you just tweak your branch name validations 😉 ? What kind of a name would comply with your rules?
from action.
Related Issues (20)
- Automatically Create Betas
- Publish not working for internal Artifactory registry HOT 4
- Workflow of git action throw error while we setup `type:module` on package.json HOT 2
- Avoid marking releases as Latest
- Github action fail with changeset publish
- Error "No user .npmrc file found" when file actually exists HOT 2
- Any plans to verify changesets org w/ GitHub and publish to Marketplace
- pathspec 'changeset-release/main' did not match any file(s) known to git HOT 6
- HttpError: Not Found HOT 9
- There is no .changeset folder
- How can I change release body content and title?
- actuon HOT 1
- action
- Major version bump where minor is set HOT 1
- useCalculatedVersion option not working HOT 1
- Support private registry
- action formatting package.json in wrong way HOT 1
- How can I automate version updates and releases?
- Suggestion: add input to specify the target branch
- Selective release 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 action.