From ca41a53bb408a9887422baa2b9b511533d74214a Mon Sep 17 00:00:00 2001 From: Michal Date: Tue, 2 Jul 2024 21:25:47 +0100 Subject: [PATCH] Create ansible-lint.yml --- .github/workflows/ansible-lint.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/ansible-lint.yml diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml new file mode 100644 index 0000000..959d800 --- /dev/null +++ b/.github/workflows/ansible-lint.yml @@ -0,0 +1,15 @@ +# .github/workflows/ansible-lint.yml +name: ansible-lint +on: + pull_request: + branches: ["main"] + push: + 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'