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

Warning about 'validation_depth' #41

Closed
kadaan opened this issue Mar 23, 2021 · 2 comments
Closed

Warning about 'validation_depth' #41

kadaan opened this issue Mar 23, 2021 · 2 comments

Comments

@kadaan
Copy link

kadaan commented Mar 23, 2021

With the following config and a CHANGELOG.md that only has an [Unreleased] section, I get this warning: Warning: Unexpected input(s) 'validation_depth', valid inputs are ['path', 'version']

Config

      - name: Validate changelog
        uses: mindsers/changelog-reader-action@v2
        with:
          validation_depth: 10
          version: Unreleased
@mindsers
Copy link
Owner

Hi @kadaan ! I guess you're using the README.md file on master to build your job stage but what's on master isn't released yet, it is still a work in progress (either documentation and code)

I can see two solution for your problem:

  • you stop using validation_depth for now because it doesn't exist in v2 yet
  • you change the version of changelog-reader-action you want to use to master (like uses: mindsers/changelog-reader-action@master. But using this solution will make you use an unfinished feature that might change in the feature and also targeting master could break your CI every time we work on improving changelog-reader-action. So I don't recommend this solution.

Thanks for opening this issue and asking for help. I close this issue for now since what you describe is expected but feel free to add informations here if needed. Have a nice day!

@kadaan
Copy link
Author

kadaan commented Mar 27, 2021

Thanks!

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

No branches or pull requests

2 participants