question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not pulling in specified config file

See original GitHub issue

I’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:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
JosephNaberhauscommented, Aug 2, 2020

Thank you so much! I’m so glad to finally be able to stop renaming commit messages after forgetting that limit.

1reaction
wagoidcommented, Aug 2, 2020

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 🚀

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found