Comments (12)
This is the one arguing about not having proper Angular conventional commits inside my PR and I think that this is no longer the case with this change.
Ah, I see, so more of a GH Action issue then
Though adding a scope to the bot commit like docs(contributors): ... does not seem to be a bad idea but I am not well placed to know if there is a possible drawback.
AFAIK, there won't be any issues caused by adding the scope especially when SR-maintained changelogs usually omit docs
changes.
from app.
Ah, I see, so more of a GH Action issue then
🤔 .
Exactly.
AFAIK, there won't be any issues caused by adding the scope especially when SR-maintained changelogs usually omit
docs
changes.
Very nice then.
from app.
I now see that commitTemplate
is a CLI argument, which may be used for this. However, this is not documented anywhere.
from app.
Quick update: Adding commitTemplate
to .all-contributorsrc
does not change the commit message done by the bot. Perhaps because this option is not passed to the CLI config?
from app.
Some quick Sourcegraph that might help with debugging:
- In all-contributors-cli/src/util/git.js#L65,
options.commitTemplate || commitTemplate
is used, so ifcommitTemplate
is part of the passedoptions
, it should work. - This function is called by the CLI in all-contributors-cli/src/cli.js#L76, using the arguments provided by
yargv
in all-contributors-cli/src/cli.js#L176. - Now we just need to make sure that the bot passes
commitTemplate
to the CLI as an argument thatyargv
can pick up.
from app.
Thanks for raising the issue.
Have you had the chance to look into fixing that in a PR?
from app.
+1.
This would be awesome because I use Semantic Pull Request action and the bot's commit are not validated.
See for example this PR failing.
from app.
@C0ZEN Even with commitConvention
set to the right commit convention (e.g. angular
)?
from app.
@Berkmann18 yes, my project is configured with the Angular commit convention.
I think that the issue here is the absence of scope even if it is optional inside the Commit Message Format.
So this has nothing to do with this repository - even if adding a scope to the commits would be better from my point of view and would fix my issue also -.
from app.
@Berkmann18 I was about to open an issue inside Semantic Pull Request repository then I just remembered that I did override the default prefixes...
And the docs
prefix is not allowed.
I will make the changes but I am confident about resolving the issue.
Sorry for the wrong lead.
from app.
even if adding a scope to the commits would be better from my point of view and would fix my issue also -.
Yeah, that's a good point.
docs
prefix is not allowed.
Not allowed where? It works with SR in projects with the Angular commit convention.
from app.
@Berkmann18 I did not test it yet but I changed the configuration of my project to allow the type docs
for the Semantic Pull Request action installed.
This is the one arguing about not having proper Angular conventional commits inside my PR and I think that this is no longer the case with this change.
So I think that I do not have a problem anymore and no need to change anything on this repository.
Though adding a scope to the bot commit like docs(contributors): ...
does not seem to be a bad idea but I am not well placed to know if there is a possible drawback.
from app.
Related Issues (20)
- how to create a table HOT 4
- `research` contribution key is not recognized HOT 5
- Bot default configuration has a broken contributors link with a dash (-) HOT 1
- Fix typo for `tbody`
- Enforce ESLint same as CLI
- contributorsSortAlphabetically doesn't sort alphabetically using bot HOT 14
- Custom PR text HOT 10
- Add the generate command as the @all-contributors command HOT 5
- [Bug]: Contributors' link doesn't have correct url HOT 1
- Organize contribution types and mappings HOT 3
- Refactor: replace CLI dependency with a commonly shared library instead HOT 1
- [Feature] add support for GitHub discussions HOT 9
- already contributed before message HOT 5
- Cannot add contributors when `commitConvention` is set to gitmoji, HOT 2
- Readme card not updating HOT 1
- We had trouble processing your request. Please try again later. HOT 1
- Gitea support HOT 1
- Is there a way to remove contributors from a project? HOT 2
- Bot errors if repo already has `all-contributors` branch HOT 2
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 app.