diff --git a/.github/workflows/test-container-build.yml b/.github/workflows/test-container-build.yml index 6dfed0d1..7d59ad0b 100644 --- a/.github/workflows/test-container-build.yml +++ b/.github/workflows/test-container-build.yml @@ -1,10 +1,20 @@ name: ChangeDetection.io Container Build Test # Triggers the workflow on push or pull request events -on: [push, pull_request] - paths: - - requirements.txt - - Dockerfile + +# This line doesnt work, even tho it is the documented one +#on: [push, pull_request] + +on: + push: + paths: + - requirements.txt + - Dockerfile + + pull_request: + paths: + - requirements.txt + - Dockerfile # Changes to requirements.txt packages and Dockerfile may or may not always be compatible with arm etc, so worth testing # @todo: some kind of path filter for requirements.txt and Dockerfile