From 9f9ada64cf5456e0d2aa35c14c0967155cc7b4f3 Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Wed, 29 May 2024 20:49:11 -0500 Subject: [PATCH] add ansible-lint to CI --- .github/workflows/ansible-lint.yml | 14 ++++++++++++++ 1 file changed, 14 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..f293bce --- /dev/null +++ b/.github/workflows/ansible-lint.yml @@ -0,0 +1,14 @@ +# .github/workflows/ansible-lint.yml +name: ansible-lint +on: + pull_request: + branches: ["master"] + push: +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'