From d4f1bed5164680c7e936616dd0a740985209c019 Mon Sep 17 00:00:00 2001 From: L3D Date: Thu, 5 Oct 2023 21:46:52 +0200 Subject: [PATCH] Updating linting action --- .github/dependabot.yml | 9 +++++++++ .github/workflows/ansible-linting-check.yml | 21 +++++++++++---------- 2 files changed, 20 insertions(+), 10 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..dde6f4a --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,9 @@ +--- +# See https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates +version: 2 +updates: + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" diff --git a/.github/workflows/ansible-linting-check.yml b/.github/workflows/ansible-linting-check.yml index 41dcb97..f17f24d 100644 --- a/.github/workflows/ansible-linting-check.yml +++ b/.github/workflows/ansible-linting-check.yml @@ -6,17 +6,18 @@ on: [push, pull_request] jobs: build: - + name: Ansible Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - - name: Lint Ansible Playbook - uses: ansible/ansible-lint-action@master + - name: 'checkout git repo' + uses: actions/checkout@v4.1.0 with: - targets: "." - # [required] - # Paths to ansible files (i.e., playbooks, tasks, handlers etc..) - args: "" - # [optional] + lfs: true + submodules: true + fetch-depth: 0 + + - name: Run ansible-lint + uses: ansible-actions/ansible-lint-action@v0.0.2 + with: + target: "./"