Use paths instead of paths-ignore for trigerring actions
Andrea made some great suggestions, thanks! Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
This commit is contained in:
parent
1b17d3b9e2
commit
bcd175e5eb
34
.github/workflows/lint.yml
vendored
34
.github/workflows/lint.yml
vendored
@ -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:
|
||||
|
34
.github/workflows/test-docs.yml
vendored
34
.github/workflows/test-docs.yml
vendored
@ -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:
|
||||
|
42
.github/workflows/test-integration.yml
vendored
42
.github/workflows/test-integration.yml
vendored
@ -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:
|
||||
|
36
.github/workflows/test-unit.yml
vendored
36
.github/workflows/test-unit.yml
vendored
@ -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:
|
||||
|
42
.github/workflows/test-universe.yml
vendored
42
.github/workflows/test-universe.yml
vendored
@ -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:
|
||||
|
Reference in New Issue
Block a user