From adc79d40eb28007ddd5d3fc433f6825b0aab4e20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Sun, 13 Oct 2024 20:05:29 +0200 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..fecdb85 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,19 @@ +# .github/workflows/ansible-lint.yml +name: ansible-lint +on: + pull_request: + branches: ["main", "stable", "release/v*"] +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 + # optional (see below): + with: + args: "" + setup_python: "true" + working_directory: "" + requirements_file: ""