Specify a version range for cfn-lint #188
Labels
enhancement
New feature or request
good first issue
Good for newcomers
hacktoberfest
https://hacktoberfest.com/participation/
help wanted
Extra attention is needed
javascript
Pull requests that update Javascript code
Is your feature request related to a problem? Please describe.
We're creating SARIF output with cfn-lint, and that was broken in some case until their 0.61 release. We had a workaround in place though, so all is good. Now that cfn-lint is fixed though I want to remove the workaround, and instead looked for a way to say "please use cfn-lint >= 0.61" for this action.
I found that there is a
version
input, but it takes an explicit version, and not a range:cfn-lint-action/lib/utils/installCLI.js
Line 40 in 3eef524
Describe the solution you'd like
Allow to specify a "version specifier" (https://peps.python.org/pep-0440/#version-specifiers), so that I could say
version: >=0.61
.Describe alternatives you've considered
version: 0.61
): This is problematic, because cfn-lint obviously moves a lot, and I would now have to track the versions and update my action configuration. This is "manual work" (no dependabot to help, for instance), and produces churn in my repository.The text was updated successfully, but these errors were encountered: