-
Notifications
You must be signed in to change notification settings - Fork 96
[WIP] Ansible-lint: Add example config for github action #612
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
base: main
Are you sure you want to change the base?
Changes from 4 commits
01f5602
e3936e0
d73085b
9c76574
062a3da
aadbca6
6fcb8ec
cc04f4c
4f25aca
a182f21
e3d0a4b
57ae17d
f088fac
59e0a74
852ca2c
f88839d
13396dd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| --- | ||
| skip_list: | ||
| # TODO: Fix and enable one-by-one over time | ||
|
||
| - command-instead-of-module | ||
| - command-instead-of-shell | ||
| - key-order[task] | ||
| - jinja[spacing] | ||
| - no-free-form | ||
| - schema[galaxy] | ||
| - schema[tasks] | ||
| - name[missing] | ||
| - name[play] | ||
| - var-naming[no-role-prefix] | ||
| - var-naming[pattern] | ||
| - yaml[brackets] | ||
| - yaml[comments] | ||
| - yaml[empty-lines] | ||
| - yaml[indentation] | ||
| - yaml[line-length] | ||
| - yaml[new-line-at-end-of-file] | ||
| - yaml[trailing-spaces] | ||
| - name[template] | ||
| - name[casing] | ||
| - risky-file-permissions | ||
| - risky-shell-pipe | ||
| - galaxy[tags] | ||
| - ignore-errors | ||
| - no-changed-when | ||
| - no-handler | ||
| - sanity[cannot-ignore] | ||
| - fqcn[action-core] | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| --- | ||
| # Copyright (c) Ansible Project | ||
| # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) | ||
| # SPDX-License-Identifier: GPL-3.0-or-later | ||
|
|
||
| name: ansible-lint | ||
| on: | ||
| pull_request: | ||
| branches: ["main", "stable-*"] | ||
| jobs: | ||
| build: | ||
| name: Ansible Lint | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
|
|
||
| - name: Run ansible-lint | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A checkout step needs to be added before here. There was a breaking change in the action that started requiring that. |
||
| uses: ansible/ansible-lint-action@v6 | ||
MarkusTeufelberger marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Uh oh!
There was an error while loading. Please reload this page.