Skip to content

Commit

Permalink
fix(ci): change labeler format to v5 (#4526)
Browse files Browse the repository at this point in the history
  • Loading branch information
geyslan authored Jan 17, 2025
1 parent a8a2782 commit c293e45
Show file tree
Hide file tree
Showing 2 changed files with 106 additions and 59 deletions.
162 changes: 103 additions & 59 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,82 +1,126 @@
# Define labels for areas and kinds with match objects

#
# area
# Area Labels
#
# area/grpc
area/grpc:
- pkg/server/grpc/**
- pkg/server/grpc/**/*
# area/api
- changed-files:
- any-glob-to-any-file:
- pkg/server/grpc/**
- pkg/server/grpc/**/*

area/api:
- api/**
- api/**/*
# area/arm64:
- changed-files:
- any-glob-to-any-file:
- api/**
- api/**/*

area/build:
- builder/**
- "**/Makefile"
- "**/Dockerfile"
- go.sum
- go.mod
- staticcheck.conf
- .github/**
- .clang-format
- .dockerignore
- changed-files:
- any-glob-to-any-file:
- builder/**
- '**/Makefile'
- '**/Dockerfile'
- go.sum
- go.mod
- staticcheck.conf
- .github/**
- .clang-format
- .dockerignore

area/capture:
- "*capture*"
# area/co-re:
- changed-files:
- any-glob-to-any-file:
- '*capture*'

area/ebpf:
- pkg/ebpf/*
- pkg/ebpf/**/*
- changed-files:
- any-glob-to-any-file:
- pkg/ebpf/*
- pkg/ebpf/**/*

area/events:
- pkg/events/*
- pkg/events/**/*
- changed-files:
- any-glob-to-any-file:
- pkg/events/*
- pkg/events/**/*

area/filtering:
- pkg/filters/*
- pkg/filters/**/*
- changed-files:
- any-glob-to-any-file:
- pkg/filters/*
- pkg/filters/**/*

area/flags:
- pkg/cmd/flags/*
- pkg/cmd/flags/**/*
- changed-files:
- any-glob-to-any-file:
- pkg/cmd/flags/*
- pkg/cmd/flags/**/*

area/kubernetes:
- deploy/*
- deploy/**/*
- changed-files:
- any-glob-to-any-file:
- deploy/*
- deploy/**/*

area/logging:
- pkg/logger/*
- pkg/logger/**/*
- pkg/errfmt/*
- pkg/errfmt/**/*
# area/network:
- changed-files:
- any-glob-to-any-file:
- pkg/logger/*
- pkg/logger/**/*
- pkg/errfmt/*
- pkg/errfmt/**/*

area/performance:
- pkg/metrics/*
- pkg/metrics/**/*
- changed-files:
- any-glob-to-any-file:
- pkg/metrics/*
- pkg/metrics/**/*

area/release:
- packaging/*
- packaging/**/*
# area/rules:
- changed-files:
- any-glob-to-any-file:
- packaging/*
- packaging/**/*

area/signatures:
- pkg/signatures/*
- pkg/signatures/**/*
- signatures/*
- signatures/**/*
- changed-files:
- any-glob-to-any-file:
- pkg/signatures/*
- pkg/signatures/**/*
- signatures/*
- signatures/**/*

area/testing:
- tests/*
- tests/**/*
- "**/*_test.go"
# area/uprobe:
- changed-files:
- any-glob-to-any-file:
- tests/*
- tests/**/*
- '**/*_test.go'

area/UX:
- pkg/cmd/*
- pkg/cmd/**/*
- cmd/*
- cmd/**/*
- changed-files:
- any-glob-to-any-file:
- pkg/cmd/*
- pkg/cmd/**/*
- cmd/*
- cmd/**/*

#
# kind
# Kind Labels
#

kind/documentation:
- docs/*
- docs/**/*
- "**/*.md"
- mkdocs.yml
- NOTICE
- LICENSE
- cmd/tracee-gptdocs/*
- changed-files:
- any-glob-to-any-file:
- docs/*
- docs/**/*
- '**/*.md'
- mkdocs.yml
- NOTICE
- LICENSE
- cmd/tracee-gptdocs/*

# kind/bug:
# kind/chore:
# kind/feature:
3 changes: 3 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
with:
sync-labels: false
configuration-path: .github/labeler.yml

0 comments on commit c293e45

Please sign in to comment.