Not pulling in specified config file
See original GitHub issueI’m trying to setup commit-linting for this repository. I have an action set up with the following yaml:
commit-fmt:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v1.6.0
with:
configFile: './.commitlintrc.yml'
The .commitlintrc.yml file is just supposed to tell the linter to use the conventional config:
---
extends:
- '@commitlint/config-conventional'
However, I get the following error:
⧗ input: feat(types.go): add structrues for capturing results returned by overpass
✖ header must not be longer than 72 characters, current length is 73 [header-max-length]
According to the conventional config documentation the header-max-length should be 100. It seems like this action is still using the angular config which has a header-max-length of 72.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Result "ERROR: The specified config file doesn't exist or is ...
Running this command from within my project folder: html-minifier -c html-minifier.cfg -o lib/welcome.html client/welcome.html gives error: ...
Read more >tsconfig.json: not input were found in config file?
I keep getting this error from tsconfig.ts: No inputs were found in config file 'd:/self-study/Web/Learning/Express/tsconfig.json'.
Read more >OpenSSL "req -new" - "no objects specified in config file" Error
If you are getting the "no objects specified in config file" error when running the OpenSSL "req -new" command, because OpenSSL receives no...
Read more >Connection Strings and Configuration Files - ADO.NET
Learn how to store connection strings for ADO.NET applications in an application configuration file, as a best practice for security and ...
Read more >Overview of docker compose CLI
Use the -f flag to specify the location of a Compose configuration file. Specifying multiple Compose files . You can supply multiple...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you so much! I’m so glad to finally be able to stop renaming commit messages after forgetting that limit.
Hey @JosephNaberhaus, I’ve released v2 which now uses commitlint v9. Once you update your workflow to use
wagoid/commitlint-github-action@v2
it should apply the 100 length limit 🚀