From a122d6685d05417e59b0a7b1811bb825068ee345 Mon Sep 17 00:00:00 2001 From: cytopia Date: Sun, 11 Dec 2022 10:54:07 +0100 Subject: [PATCH] Only build on specific changes --- .github/workflows/action.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 7756b71..1f4981d 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -12,7 +12,29 @@ name: build on: # Push or pull_request will be determined in jobs.configure.enabled push: + paths: + - '.ansible/**' + - '.github/workflows/action.yml' + - '.github/workflows/params.yml' + - 'Dockerfiles/**' + - 'php_modules/**' + - 'php_tools/**' + - 'tests/**' + - 'Makefile' + - '!**.md' + - '!.ansible/ansible.cfg' pull_request: + paths: + - '.ansible/**' + - '.github/workflows/action.yml' + - '.github/workflows/params.yml' + - 'Dockerfiles/**' + - 'php_modules/**' + - 'php_tools/**' + - 'tests/**' + - 'Makefile' + - '!**.md' + - '!.ansible/ansible.cfg' # Dispatch: allows for manual trigger via GH UI workflow_dispatch: