diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index cf0176de..2312b47b 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -1,8 +1,14 @@ name: Build Documentation on: push: + paths: + - 'docs/**' + - '.github/workflows/build-docs.yml' pull_request: types: [opened, synchronize, reopened] + paths: + - 'docs**/' + - '.github/workflows/build-docs.yml' jobs: build-documentation: name: docs diff --git a/.github/workflows/build-gluon.yml b/.github/workflows/build-gluon.yml index 9e4ce9a3..889bfb82 100644 --- a/.github/workflows/build-gluon.yml +++ b/.github/workflows/build-gluon.yml @@ -9,8 +9,24 @@ on: - master - next - v20* + paths: + - "modules" + - "Makefile" + - "scripts/**" + - "package/**" + - "patches/**" + - "targets/**" + - ".github/workflows/build-gluon.yml" pull_request: types: [opened, synchronize, reopened] + paths: + - "modules" + - "Makefile" + - "scripts/**" + - "package/**" + - "patches/**" + - "targets/**" + - ".github/workflows/build-gluon.yml" jobs: build_firmware: strategy: diff --git a/.github/workflows/check-patches.yml b/.github/workflows/check-patches.yml index ecdaf0d7..2aeb09fd 100644 --- a/.github/workflows/check-patches.yml +++ b/.github/workflows/check-patches.yml @@ -1,8 +1,17 @@ +--- name: Check patches on: push: + paths: + - 'modules' + - 'patches/**' + - '.github/workflows/check-patches.yml' pull_request: types: [opened, synchronize, reopened] + paths: + - 'modules' + - 'patches/**' + - '.github/workflows/check-patches.yml' jobs: check-patches: name: Check patches diff --git a/contrib/actions/generate-actions.py b/contrib/actions/generate-actions.py index 78d5b2a5..3b5a0984 100755 --- a/contrib/actions/generate-actions.py +++ b/contrib/actions/generate-actions.py @@ -13,8 +13,24 @@ on: - master - next - v20* + paths: + - "modules" + - "Makefile" + - "scripts/**" + - "package/**" + - "patches/**" + - "targets/**" + - ".github/workflows/build-gluon.yml" pull_request: types: [opened, synchronize, reopened] + paths: + - "modules" + - "Makefile" + - "scripts/**" + - "package/**" + - "patches/**" + - "targets/**" + - ".github/workflows/build-gluon.yml" jobs: build_firmware: strategy: