-
Notifications
You must be signed in to change notification settings - Fork 153
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
support ignore list in actionlint.yaml #217
Comments
Question: Why |
If you mean to the cli argument - it is sufficient for my case |
I'm trying to keep config file as small as possible so let me consider whether it should be configured in the file. |
I would love to vote for stuff like this in the config file, as well. The reason is that I would like to run the tool in at least 3 different contexts - in my editor, at the command line and in CI. Having a single source of truth for the configuration options across those runs will make keeping them in sync much easier. |
As a current workaround, it's convenient to run it via a wrapper bash script. #!/bin/bash
# ./scripts/actionlint
# https://www.gnu.org/software/bash/manual/bash.html#index-_0040
actionlint -ignore 'some 1' -ignore 'some 2' "$@"
|
I have similiar requirement. Instead of maintaining separate Bash scripts to bypass these linting errors, I would prefer to configure my actionlint.yml file to explicitly ignore these specific errors. This approach will streamline my workflow by reducing the need for additional scripting and focusing on the essential aspects of my GitHub Actions. |
+1 on this feature request. By having all parameters (but especially |
Required Functionality
actionlint may require some customization when deployed into existing project
Adding the ignore errors manually to a long command is not user friendly
Proposed Solution
Add support for ignore list in
actionlint.yaml
to keep things neatThe text was updated successfully, but these errors were encountered: