From 67b75f2a8e564a4b348facccc4feb20f37906fe9 Mon Sep 17 00:00:00 2001 From: L3D Date: Thu, 5 Oct 2023 21:44:41 +0200 Subject: [PATCH] Changing linting action --- .github/workflows/ansible-linting-check.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ansible-linting-check.yml b/.github/workflows/ansible-linting-check.yml index 5ed3e8a..f17f24d 100644 --- a/.github/workflows/ansible-linting-check.yml +++ b/.github/workflows/ansible-linting-check.yml @@ -2,26 +2,22 @@ name: Ansible Lint check # yamllint disable-line rule:truthy -on: - push: - branches: '*' - pull_request: - branches: '*' +on: [push, pull_request] jobs: build: - + name: Ansible Lint runs-on: ubuntu-latest steps: - name: 'checkout git repo' - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.0 with: lfs: true submodules: true fetch-depth: 0 - - name: 'Lint Ansible Playbook' - uses: ansible/ansible-lint-action@v6 + - name: Run ansible-lint + uses: ansible-actions/ansible-lint-action@v0.0.2 with: - path: "." + target: "./"