Skip to content

Commit

Permalink
Fix labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed Oct 31, 2024
1 parent d361376 commit f3753f7
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 15 deletions.
42 changes: 28 additions & 14 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,56 +2,70 @@
# See https://github.com/marketplace/actions/labeler for more information.

core:
- any: [ 'lib/datadog/core/**' ]
- changed-files:
- any-glob-to-any-file: [ 'lib/datadog/core/**' ]

# Only documentation changes
docs:
- all: [ '**/*.md' ]
- changed-files:
- all-globs-to-all-files: [ '**/*.md' ]

# Only test changes
dev/testing:
- all: [ '{spec/**,integration/**,benchmarks/**}' ]
- changed-files:
- all-globs-to-all-files: [ '{spec/**,integration/**,benchmarks/**}' ]

# Changes to Profiling
profiling:
- any: [ '{lib/datadog/profiling/**,ext/datadog_profiling_loader/**,ext/datadog_profiling_native_extension/**}' ]
- changed-files:
- any-glob-to-any-file: [ '{lib/datadog/profiling/**,ext/datadog_profiling_loader/**,ext/datadog_profiling_native_extension/**}' ]

# Changes to CI-App
ci-app:
- any: [ 'lib/datadog/ci/**' ]
- changed-files:
- any-glob-to-any-file: [ 'lib/datadog/ci/**' ]

# Changes to ASM
appsec:
- any: [ 'lib/datadog/appsec/**' ]
- changed-files:
- any-glob-to-any-file: [ 'lib/datadog/appsec/**' ]

# Changes to Tracing
tracing:
- any: [ 'lib/datadog/tracing/**' ]
- changed-files:
- any-glob-to-any-file: [ 'lib/datadog/tracing/**' ]

# Changes to Tracing integrations
integrations:
- any: [ '{lib/datadog/tracing/contrib/**,lib/datadog/appsec/contrib/**}' ]
- changed-files:
- any-glob-to-any-file: [ '{lib/datadog/tracing/contrib/**,lib/datadog/appsec/contrib/**}' ]

# Only repository GitHub changes
dev/github:
- all: [ '.github/**' ]
- changed-files:
- all-globs-to-all-files: [ '.github/**' ]

# Only repository CI changes
dev/ci:
- all: [ '{.circleci/**,.gitlab-ci.yml}' ]
- changed-files:
- all-globs-to-all-files: [ '{.circleci/**,.gitlab-ci.yml}' ]

# Version bump pull request
release:
- all: [ '{CHANGELOG.md,lib/datadog/version.rb}' ]
- changed-files:
- all-globs-to-all-files: [ '{CHANGELOG.md,lib/datadog/version.rb}' ]

# Changes to OpenTelemetry
otel:
- any: [ 'lib/datadog/opentelemetry/**' ]
- changed-files:
- any-glob-to-any-file: [ 'lib/datadog/opentelemetry/**' ]

# Changes to Single Step Instrumentation
single-step:
- any: [ 'lib-injection/**' ]
- changed-files:
- any-glob-to-any-file: [ 'lib-injection/**' ]

# Changes to Debugging
debugging:
- any: [ 'lib/datadog/debugging/**' ]
- changed-files:
- any-glob-to-any-file: [ 'lib/datadog/debugging/**' ]
1 change: 0 additions & 1 deletion .github/workflows/pull-request-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ jobs:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler.yml

0 comments on commit f3753f7

Please sign in to comment.