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

add yaml actionlint support (github actions) #4173

Merged
merged 1 commit into from
May 3, 2022

Conversation

bretello
Copy link
Contributor

@bretello bretello commented May 1, 2022

Adds support for github action linter actionlint

Copy link
Contributor

@hsanson hsanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add entries for the new linter to ale-supported-languages-and-tools.txt and supported-tools.md. The list of tools must be listed in alphabetic order.

@bretello bretello force-pushed the master branch 2 times, most recently from ec72ca6 to 82b5044 Compare May 2, 2022 07:15
@hsanson
Copy link
Contributor

hsanson commented May 2, 2022

Sorry, you also need to add the new linter entry to ale.txt section 7.6 in the same order as in the ale-supported-languages-and-tools.txt

@bretello
Copy link
Contributor Author

bretello commented May 2, 2022

Thanks! I wasn't sure why CI was failing. It should go through now.

Just as a note for whoever stumbling upon this, this is how I use this (to avoid having this lint all yaml files):

au BufRead,BufNewFile */.github/*/*.y.?ml let b:ale_linters = {'yaml': ['actionlint'] }

Copy link
Contributor

@hsanson hsanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looking good.

@hsanson hsanson merged commit c694a24 into dense-analysis:master May 3, 2022
@bretello bretello mentioned this pull request May 3, 2022
cyyever pushed a commit to cyyever/ale that referenced this pull request Jul 11, 2022
Co-authored-by: bretello <bretello@distruzione.org>
cyyever pushed a commit to cyyever/ale that referenced this pull request Jul 11, 2022
Co-authored-by: bretello <bretello@distruzione.org>
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 this pull request may close these issues.

2 participants