reduce scope in which packaging and preview actions are run (#7429)

This commit is contained in:
Roberto Dip 2022-08-29 15:38:30 -03:00 committed by GitHub
parent 70514bf933
commit 715f320be1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 6 deletions

View file

@ -9,13 +9,21 @@ on:
- main
- patch-*
paths:
# TODO: Reduce to cmd/fleetctl/**.go and packages used by it.
- '**.go'
- 'cmd/fleetctl/**.go'
- 'pkg/**.go'
- 'server/service/**.go'
- 'server/context/**.go'
- 'orbit/**.go'
- 'ee/fleetctl/**.go'
- 'docs/01-Using-Fleet/standard-query-library/standard-query-library.yml'
pull_request:
paths:
# TODO: Reduce to cmd/fleetctl/**.go and packages used by it.
- '**.go'
- 'cmd/fleetctl/**.go'
- 'pkg/**.go'
- 'server/service/**.go'
- 'server/context/**.go'
- 'orbit/**.go'
- 'ee/fleetctl/**.go'
- 'docs/01-Using-Fleet/standard-query-library/standard-query-library.yml'
workflow_dispatch: # Manual

View file

@ -10,7 +10,12 @@ on:
- patch-*
pull_request:
paths:
- '**.go'
- 'cmd/fleetctl/**.go'
- 'pkg/**.go'
- 'server/service/**.go'
- 'server/context/**.go'
- 'orbit/**.go'
- 'ee/fleetctl/**.go'
- 'tools/fleetctl-docker/**'
- 'tools/wix-docker/**'
- 'tools/bomutils-docker/**'

View file

@ -12,7 +12,15 @@ on:
- patch-*
pull_request:
paths:
- '**.go'
- 'cmd/fleetctl/**.go'
- 'pkg/**.go'
- 'server/service/**.go'
- 'server/context/**.go'
- 'orbit/**.go'
- 'ee/fleetctl/**.go'
- 'tools/fleetctl-docker/**'
- 'tools/wix-docker/**'
- 'tools/bomutils-docker/**'
- '.github/workflows/test-packaging.yml'
workflow_dispatch: # Manual