diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ea21fa21..8dbe1c81 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -3,30 +3,28 @@ name: Lint on: push: branches: [main] - ignore-paths: + paths: + - '**.go' + - '**.sh' + - '**.bash' + - '**.cue' - 'docs/**' - - 'infra/**' - - 'website/**' - - '.gitignore' - '.golangci.yml' - - '.goreleaser.yml' - - 'Dockerfile' - - 'install.ps1' - - 'semver' - - 'tracing.compose.yaml' + - 'Makefile' + - 'README.md' + - '.github/workflows/lint.yml' pull_request: branches: [main] - ignore-paths: + paths: + - '**.go' + - '**.sh' + - '**.bash' + - '**.cue' - 'docs/**' - - 'infra/**' - - 'website/**' - - '.gitignore' - '.golangci.yml' - - '.goreleaser.yml' - - 'Dockerfile' - - 'install.ps1' - - 'semver' - - 'tracing.compose.yaml' + - 'Makefile' + - 'README.md' + - '.github/workflows/lint.yml' jobs: everything: diff --git a/.github/workflows/test-docs.yml b/.github/workflows/test-docs.yml index 923a4320..7b92576e 100644 --- a/.github/workflows/test-docs.yml +++ b/.github/workflows/test-docs.yml @@ -3,30 +3,20 @@ name: "Test Docs" on: push: branches: [main] - ignore-paths: - - 'infra/**' - - 'website/**' - - '.gitignore' - - '.golangci.yml' - - '.goreleaser.yml' - - 'Dockerfile' - - 'README.md' - - 'install.ps1' - - 'semver' - - 'tracing.compose.yaml' + paths: + - '**.go' + - '**.cue' + - 'docs/**' + - 'Makefile' + - '.github/workflows/test-docs.yml' pull_request: branches: [main] - ignore-paths: - - 'infra/**' - - 'website/**' - - '.gitignore' - - '.golangci.yml' - - '.goreleaser.yml' - - 'Dockerfile' - - 'README.md' - - 'install.ps1' - - 'semver' - - 'tracing.compose.yaml' + 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 1981eb99..b876945c 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -3,32 +3,26 @@ name: "Test Integration" on: push: branches: [main] - ignore-paths: - - 'docs/**' - - 'infra/**' - - 'website/**' - - '.gitignore' - - '.golangci.yml' - - '.goreleaser.yml' - - 'Dockerfile' - - 'README.md' - - 'install.ps1' - - 'semver' - - 'tracing.compose.yaml' + paths: + - '**.sh' + - '**.bash' + - '**.go' + - '**.cue' + - 'Makefile' + - 'go.mod' + - 'go.sum' + - '.github/workflows/test-integration.yml' pull_request: branches: [main] - ignore-paths: - - 'docs/**' - - 'infra/**' - - 'website/**' - - '.gitignore' - - '.golangci.yml' - - '.goreleaser.yml' - - 'Dockerfile' - - 'README.md' - - 'install.ps1' - - 'semver' - - 'tracing.compose.yaml' + 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 30f555b4..2cba616b 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -3,32 +3,20 @@ name: "Test Unit" on: push: branches: [main] - ignore-paths: - - 'docs/**' - - 'infra/**' - - 'website/**' - - '.gitignore' - - '.golangci.yml' - - '.goreleaser.yml' - - 'Dockerfile' - - 'README.md' - - 'install.ps1' - - 'semver' - - 'tracing.compose.yaml' + paths: + - '**.go' + - 'Makefile' + - 'go.mod' + - 'go.sum' + - '.github/workflows/test-unit.yml' pull_request: branches: [main] - ignore-paths: - - 'docs/**' - - 'infra/**' - - 'website/**' - - '.gitignore' - - '.golangci.yml' - - '.goreleaser.yml' - - 'Dockerfile' - - 'README.md' - - 'install.ps1' - - 'semver' - - 'tracing.compose.yaml' + 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 0a8335f2..3ae36318 100644 --- a/.github/workflows/test-universe.yml +++ b/.github/workflows/test-universe.yml @@ -3,32 +3,26 @@ name: "Test Universe" on: push: branches: [main] - ignore-paths: - - 'docs/**' - - 'infra/**' - - 'website/**' - - '.gitignore' - - '.golangci.yml' - - '.goreleaser.yml' - - 'Dockerfile' - - 'README.md' - - 'install.ps1' - - 'semver' - - 'tracing.compose.yaml' + paths: + - '**.sh' + - '**.bash' + - '**.go' + - '**.cue' + - 'Makefile' + - 'go.mod' + - 'go.sum' + - '.github/workflows/test-universe.yml' pull_request: branches: [main] - ignore-paths: - - 'docs/**' - - 'infra/**' - - 'website/**' - - '.gitignore' - - '.golangci.yml' - - '.goreleaser.yml' - - 'Dockerfile' - - 'README.md' - - 'install.ps1' - - 'semver' - - 'tracing.compose.yaml' + paths: + - '**.sh' + - '**.bash' + - '**.go' + - '**.cue' + - 'Makefile' + - 'go.mod' + - 'go.sum' + - '.github/workflows/test-universe.yml' jobs: universe: