Skip to content

Commit

Permalink
Merge pull request #96 from crazy-max/ci-path-filter
Browse files Browse the repository at this point in the history
ci: set path filter on push
  • Loading branch information
crazy-max authored Feb 14, 2023
2 parents 27e64f6 + ee992b1 commit 5eb2baa
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-buildx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ on:
branches:
- 'main'
- 'buildx/[0-9]+.[0-9]+'
paths:
- '.github/workflows/.build.yml'
- '.github/workflows/build-buildx.yml'
- 'common/**'
- 'pkg/buildx/**'
pull_request:
paths:
- '.github/workflows/.build.yml'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ on:
branches:
- 'main'
- 'compose/[0-9]+.[0-9]+'
paths:
- '.github/workflows/.build.yml'
- '.github/workflows/build-compose.yml'
- 'common/**'
- 'pkg/compose/**'
pull_request:
paths:
- '.github/workflows/.build.yml'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-containerd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ on:
branches:
- 'main'
- 'containerd/[0-9]+.[0-9]+'
paths:
- '.github/workflows/.build.yml'
- '.github/workflows/build-containerd.yml'
- 'common/**'
- 'pkg/containerd/**'
pull_request:
paths:
- '.github/workflows/.build.yml'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-credential-helpers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ on:
branches:
- 'main'
- 'credential-helpers/[0-9]+.[0-9]+'
paths:
- '.github/workflows/.build.yml'
- '.github/workflows/build-credential-helpers.yml'
- 'common/**'
- 'pkg/credential-helpers/**'
pull_request:
paths:
- '.github/workflows/.build.yml'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-docker-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ on:
branches:
- 'main'
- 'docker/[0-9]+.[0-9]+'
paths:
- '.github/workflows/.build.yml'
- '.github/workflows/build-docker-cli.yml'
- 'common/**'
- 'pkg/docker-cli/**'
pull_request:
paths:
- '.github/workflows/.build.yml'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-docker-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ on:
branches:
- 'main'
- 'docker/[0-9]+.[0-9]+'
paths:
- '.github/workflows/.build.yml'
- '.github/workflows/build-docker-engine.yml'
- 'common/**'
- 'pkg/docker-engine/**'
pull_request:
paths:
- '.github/workflows/.build.yml'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-sbom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ on:
branches:
- 'main'
- 'sbom/[0-9]+.[0-9]+'
paths:
- '.github/workflows/.build.yml'
- '.github/workflows/build-sbom.yml'
- 'common/**'
- 'pkg/sbom/**'
pull_request:
paths:
- '.github/workflows/.build.yml'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ on:
branches:
- 'main'
- 'scan/[0-9]+.[0-9]+'
paths:
- '.github/workflows/.build.yml'
- '.github/workflows/build-scan.yml'
- 'common/**'
- 'pkg/scan/**'
pull_request:
paths:
- '.github/workflows/.build.yml'
Expand Down

0 comments on commit 5eb2baa

Please sign in to comment.