From 60879eaddece61c6d2079aef70cf5de756ad2918 Mon Sep 17 00:00:00 2001 From: Sietse Snel Date: Fri, 13 Dec 2024 16:14:39 +0100 Subject: [PATCH] CI: only run Ansible-lint on Ansible changes --- .github/workflows/ansible-lint.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml index 29b9022..8756ee0 100644 --- a/.github/workflows/ansible-lint.yml +++ b/.github/workflows/ansible-lint.yml @@ -1,6 +1,18 @@ name: Ansible Lint -on: [push, pull_request] +on: + push: + paths-ignore: + - 'README.md' + - 'Vagrantfile' + - 'docker/**' + - 'vagrant/**' + pull_request: + paths-ignore: + - 'README.md' + - 'Vagrantfile' + - 'docker/**' + - 'vagrant/**' jobs: build: