Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs are terrible #156

Closed
austanss opened this issue May 16, 2021 · 2 comments · Fixed by #158
Closed

Docs are terrible #156

austanss opened this issue May 16, 2021 · 2 comments · Fixed by #158

Comments

@austanss
Copy link
Contributor

I don't understand anything from these docs. Figuring out the configuration file was guesswork. I don't know where to put these "fields", like configFile, into.

@wagoid
Copy link
Owner

wagoid commented May 18, 2021

Hey @Rizet, each of those inputs from the Inputs section of the readme can be passed in the with parameter of the step. You can see more info about this field here.

For configFile for example, you can pass do following:

name: Lint Commit Messages
on: [pull_request]

jobs:
  commitlint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - uses: wagoid/commitlint-github-action@v3
        with:
          configFile: commitlint.config.yml

If you have other doubts, let me know. If you want to add a PR making the docs less terrible, I'll be happy to merge it.

@austanss
Copy link
Contributor Author

I'll make a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants