Skip to content

Commit

Permalink
use new git action
Browse files Browse the repository at this point in the history
  • Loading branch information
adworjan committed Dec 26, 2023
1 parent 24171fd commit 54f5044
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .config/ansible-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exclude_paths:
# Load custom rules from this specific folder
# rulesdir:
# - ./rule/directory/
offline: true
offline: false
# Any rule that has the 'opt-in' tag will not be loaded unless its 'id' is
# mentioned in the enable_list:
# This makes the linter display but not fail for rules/tags listed below:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:

steps:
# Important: This sets up your GITHUB_WORKSPACE environment variable
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Lint Ansible Playbook
# replace "master" with any valid ref
uses: ansible/ansible-lint[email protected]
# optional:
# with:
# path: "playbooks/" # <-- only one value is allowed
- name: Lint Ansible Playbook
# replace "master" with any valid ref
uses: ansible/ansible-lint@main
# optional:
# with:
# path: "playbooks/" # <-- only one value is allowed

0 comments on commit 54f5044

Please sign in to comment.