diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9792b33e..8dbe1c81 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -3,8 +3,28 @@ name: Lint on: push: branches: [main] + paths: + - '**.go' + - '**.sh' + - '**.bash' + - '**.cue' + - 'docs/**' + - '.golangci.yml' + - 'Makefile' + - 'README.md' + - '.github/workflows/lint.yml' pull_request: branches: [main] + paths: + - '**.go' + - '**.sh' + - '**.bash' + - '**.cue' + - 'docs/**' + - '.golangci.yml' + - 'Makefile' + - 'README.md' + - '.github/workflows/lint.yml' jobs: everything: diff --git a/.github/workflows/test-docs.yml b/.github/workflows/test-docs.yml index 7153405a..7b92576e 100644 --- a/.github/workflows/test-docs.yml +++ b/.github/workflows/test-docs.yml @@ -3,8 +3,20 @@ name: "Test Docs" on: push: branches: [main] + paths: + - '**.go' + - '**.cue' + - 'docs/**' + - 'Makefile' + - '.github/workflows/test-docs.yml' pull_request: branches: [main] + paths: + - '**.go' + - '**.cue' + - 'docs/**' + - 'Makefile' + - '.github/workflows/test-docs.yml' jobs: docs: diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index 3e800b46..b876945c 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -3,8 +3,26 @@ name: "Test Integration" on: push: branches: [main] + paths: + - '**.sh' + - '**.bash' + - '**.go' + - '**.cue' + - 'Makefile' + - 'go.mod' + - 'go.sum' + - '.github/workflows/test-integration.yml' pull_request: branches: [main] + paths: + - '**.sh' + - '**.bash' + - '**.go' + - '**.cue' + - 'Makefile' + - 'go.mod' + - 'go.sum' + - '.github/workflows/test-integration.yml' jobs: integration: diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index 4dc9f06e..2cba616b 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -3,8 +3,20 @@ name: "Test Unit" on: push: branches: [main] + paths: + - '**.go' + - 'Makefile' + - 'go.mod' + - 'go.sum' + - '.github/workflows/test-unit.yml' pull_request: branches: [main] + paths: + - '**.go' + - 'Makefile' + - 'go.mod' + - 'go.sum' + - '.github/workflows/test-unit.yml' jobs: unit: diff --git a/.github/workflows/test-universe.yml b/.github/workflows/test-universe.yml index 25abb177..3ae36318 100644 --- a/.github/workflows/test-universe.yml +++ b/.github/workflows/test-universe.yml @@ -3,8 +3,26 @@ name: "Test Universe" on: push: branches: [main] + paths: + - '**.sh' + - '**.bash' + - '**.go' + - '**.cue' + - 'Makefile' + - 'go.mod' + - 'go.sum' + - '.github/workflows/test-universe.yml' pull_request: branches: [main] + paths: + - '**.sh' + - '**.bash' + - '**.go' + - '**.cue' + - 'Makefile' + - 'go.mod' + - 'go.sum' + - '.github/workflows/test-universe.yml' jobs: universe: