From 7a5e60dcd1d2fa4db63b67af2afcf620ac018c41 Mon Sep 17 00:00:00 2001 From: L3D Date: Tue, 1 Aug 2023 19:07:39 +0200 Subject: [PATCH] dependabot and action cleanup --- .github/dependabot.yml | 9 +++++++++ .github/workflows/ansible-linting-check.yml | 14 +++++--------- .github/workflows/pylint.yml | 3 ++- .github/workflows/yamllint.yaml | 9 ++++----- 4 files changed, 20 insertions(+), 15 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 5ed3e8a..d304ab8 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@v3.5.3 with: lfs: true submodules: true fetch-depth: 0 - name: 'Lint Ansible Playbook' - uses: ansible/ansible-lint-action@v6 + uses: ansible/ansible-lint-action@v6.17.0 with: - path: "." + path: "site.yml" diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 876c6ad..e960e07 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -10,6 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Checkout' - uses: actions/checkout@master + uses: actions/checkout@v3.5.3 + - name: GitHub Action for pylint uses: cclauss/GitHub-Action-for-pylint@0.7.0 diff --git a/.github/workflows/yamllint.yaml b/.github/workflows/yamllint.yaml index c4894bd..b23bd13 100644 --- a/.github/workflows/yamllint.yaml +++ b/.github/workflows/yamllint.yaml @@ -9,12 +9,11 @@ jobs: name: 'Yamllint' runs-on: ubuntu-latest steps: - - name: 'Checkout' - uses: actions/checkout@master + - name: 'checkout git repo' + uses: actions/checkout@v3.5.3 + - name: 'Yamllint' - uses: karancode/yamllint-github-action@master + uses: karancode/yamllint-github-action@v2.1.1 with: yamllint_file_or_dir: '.' yamllint_config_filepath: './.yamllint' - yamllint_strict: false - yamllint_comment: true