diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e3feabd..efd76cc7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,17 @@ name: Build -on: [push, pull_request] +on: + push: + paths: + - 'src/**' + - '**.yml' + - '**.xml' + - '**.Dockerfile' + pull_request: + paths: + - 'src/**' + - '**.yml' + - '**.xml' + - '**.Dockerfile' jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/prettify.yml b/.github/workflows/prettify.yml index da58f5f0..a5d7c318 100644 --- a/.github/workflows/prettify.yml +++ b/.github/workflows/prettify.yml @@ -1,5 +1,17 @@ name: Prettify -on: [push, pull_request] +on: + push: + paths: + - 'src/**' + - '**.yml' + - '**.xml' + - '**.Dockerfile' + pull_request: + paths: + - 'src/**' + - '**.yml' + - '**.xml' + - '**.Dockerfile' jobs: prettier: runs-on: ubuntu-latest diff --git a/.github/workflows/update_directory.yml b/.github/workflows/update_directory.yml index 0a9265c5..90a90f49 100644 --- a/.github/workflows/update_directory.yml +++ b/.github/workflows/update_directory.yml @@ -1,6 +1,18 @@ # This GitHub Action updates the DIRECTORY.md file (if needed) when doing a git push name: Update Directory -on: [push, pull_request] +on: + push: + paths: + - 'src/**' + - '**.yml' + - '**.xml' + - '**.Dockerfile' + pull_request: + paths: + - 'src/**' + - '**.yml' + - '**.xml' + - '**.Dockerfile' jobs: update_directory_md: runs-on: ubuntu-latest