-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix lint workflow, update reference (#432)
* fix lint workflow, update reference * fix lint checkout * Update .ansible-lint * Update tests.yml --------- Co-authored-by: Ruchi Pakhle <[email protected]> Co-authored-by: Ashwini Mhatre <[email protected]> Co-authored-by: Ashwini Mhatre <[email protected]>
- Loading branch information
1 parent
fd28ea6
commit b2fdc72
Showing
4 changed files
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
profile: production | ||
exclude_paths: | ||
- changelogs/changelog.yaml | ||
skip_list: | ||
# ansible-lint does not like the `import-3.11` ignore in tests/sanity/ignore-*.txt | ||
- sanity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
name: ansible-lint | ||
on: # yamllint disable-line rule:truthy | ||
pull_request: | ||
branches: ["main"] | ||
jobs: | ||
build: | ||
name: Ansible Lint # Naming the build is important to use it as a status check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run ansible-lint | ||
uses: ansible/ansible-lint@main # or version tag instead of 'main' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
trivial: | ||
- "Fix lint action reference." |