Do not run lint & tests on unrelated file changes

These paths shouldn't trigger lint or test runs.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
This commit is contained in:
Gerhard Lazu 2022-01-27 13:22:38 +00:00
parent 1d1b9083b3
commit 1b17d3b9e2
No known key found for this signature in database
GPG Key ID: A28DE70C9444D7A6
5 changed files with 116 additions and 0 deletions

View File

@ -3,8 +3,30 @@ name: Lint
on: on:
push: push:
branches: [main] branches: [main]
ignore-paths:
- 'docs/**'
- 'infra/**'
- 'website/**'
- '.gitignore'
- '.golangci.yml'
- '.goreleaser.yml'
- 'Dockerfile'
- 'install.ps1'
- 'semver'
- 'tracing.compose.yaml'
pull_request: pull_request:
branches: [main] branches: [main]
ignore-paths:
- 'docs/**'
- 'infra/**'
- 'website/**'
- '.gitignore'
- '.golangci.yml'
- '.goreleaser.yml'
- 'Dockerfile'
- 'install.ps1'
- 'semver'
- 'tracing.compose.yaml'
jobs: jobs:
everything: everything:

View File

@ -3,8 +3,30 @@ name: "Test Docs"
on: on:
push: push:
branches: [main] branches: [main]
ignore-paths:
- 'infra/**'
- 'website/**'
- '.gitignore'
- '.golangci.yml'
- '.goreleaser.yml'
- 'Dockerfile'
- 'README.md'
- 'install.ps1'
- 'semver'
- 'tracing.compose.yaml'
pull_request: pull_request:
branches: [main] branches: [main]
ignore-paths:
- 'infra/**'
- 'website/**'
- '.gitignore'
- '.golangci.yml'
- '.goreleaser.yml'
- 'Dockerfile'
- 'README.md'
- 'install.ps1'
- 'semver'
- 'tracing.compose.yaml'
jobs: jobs:
docs: docs:

View File

@ -3,8 +3,32 @@ name: "Test Integration"
on: on:
push: push:
branches: [main] branches: [main]
ignore-paths:
- 'docs/**'
- 'infra/**'
- 'website/**'
- '.gitignore'
- '.golangci.yml'
- '.goreleaser.yml'
- 'Dockerfile'
- 'README.md'
- 'install.ps1'
- 'semver'
- 'tracing.compose.yaml'
pull_request: pull_request:
branches: [main] branches: [main]
ignore-paths:
- 'docs/**'
- 'infra/**'
- 'website/**'
- '.gitignore'
- '.golangci.yml'
- '.goreleaser.yml'
- 'Dockerfile'
- 'README.md'
- 'install.ps1'
- 'semver'
- 'tracing.compose.yaml'
jobs: jobs:
integration: integration:

View File

@ -3,8 +3,32 @@ name: "Test Unit"
on: on:
push: push:
branches: [main] branches: [main]
ignore-paths:
- 'docs/**'
- 'infra/**'
- 'website/**'
- '.gitignore'
- '.golangci.yml'
- '.goreleaser.yml'
- 'Dockerfile'
- 'README.md'
- 'install.ps1'
- 'semver'
- 'tracing.compose.yaml'
pull_request: pull_request:
branches: [main] branches: [main]
ignore-paths:
- 'docs/**'
- 'infra/**'
- 'website/**'
- '.gitignore'
- '.golangci.yml'
- '.goreleaser.yml'
- 'Dockerfile'
- 'README.md'
- 'install.ps1'
- 'semver'
- 'tracing.compose.yaml'
jobs: jobs:
unit: unit:

View File

@ -3,8 +3,32 @@ name: "Test Universe"
on: on:
push: push:
branches: [main] branches: [main]
ignore-paths:
- 'docs/**'
- 'infra/**'
- 'website/**'
- '.gitignore'
- '.golangci.yml'
- '.goreleaser.yml'
- 'Dockerfile'
- 'README.md'
- 'install.ps1'
- 'semver'
- 'tracing.compose.yaml'
pull_request: pull_request:
branches: [main] branches: [main]
ignore-paths:
- 'docs/**'
- 'infra/**'
- 'website/**'
- '.gitignore'
- '.golangci.yml'
- '.goreleaser.yml'
- 'Dockerfile'
- 'README.md'
- 'install.ps1'
- 'semver'
- 'tracing.compose.yaml'
jobs: jobs:
universe: universe: