From cbb997ad143b87204ad45f8222c9152ecc6ace5d Mon Sep 17 00:00:00 2001 From: ktro2828 Date: Thu, 25 Apr 2024 15:24:24 +0900 Subject: [PATCH 1/3] ci: add automatic PR labeler Signed-off-by: ktro2828 --- .github/labeler.yaml | 16 ++++++++++++++++ .github/workflows/pr-labeler.yaml | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .github/labeler.yaml create mode 100644 .github/workflows/pr-labeler.yaml diff --git a/.github/labeler.yaml b/.github/labeler.yaml new file mode 100644 index 0000000000..a4dc0fe58d --- /dev/null +++ b/.github/labeler.yaml @@ -0,0 +1,16 @@ +"component:control": + - "*control*" +"component:localization": + - "*localization*" +"component:map": + - "*map*" +"component:perception": + - "*perception*" +"component:planning": + - "*planning*" +"component:sensing": + - "*sensing*" +"component:simulation": + - "*simulator*" +"component:system": + - "*system*" diff --git a/.github/workflows/pr-labeler.yaml b/.github/workflows/pr-labeler.yaml new file mode 100644 index 0000000000..d45067bee5 --- /dev/null +++ b/.github/workflows/pr-labeler.yaml @@ -0,0 +1,16 @@ +name: pr-labeler +on: + pull_request_target: + types: + - opened + - edited + - synchronize + +jobs: + label: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v4 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + configuration-path: .github/labeler.yaml From 4e17ef8f66b92cb661c28a528c1cdb70b47edd03 Mon Sep 17 00:00:00 2001 From: ktro2828 Date: Fri, 10 May 2024 15:25:09 +0900 Subject: [PATCH 2/3] ci: update the labeler configuration Signed-off-by: ktro2828 --- .github/labeler.yaml | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/.github/labeler.yaml b/.github/labeler.yaml index a4dc0fe58d..9b5fc5b12b 100644 --- a/.github/labeler.yaml +++ b/.github/labeler.yaml @@ -1,16 +1,33 @@ +"type:ci": + - .github/**/* + - "*.json" + - "*.yaml" + - "*.cfg" + - .clang-format + - .gitignore + - .prettierignore +"type:documentation": + - "**/*.md" + - "**/*.rst" + - "**/*.jpg" + - "**/*.png" + - "**/*.svg" "component:control": - - "*control*" + - "**/*control*" "component:localization": - - "*localization*" + - "**/*localization*" "component:map": - - "*map*" + - "**/*map*" "component:perception": - - "*perception*" + - "**/*perception*" "component:planning": - - "*planning*" + - "**/*planning*" "component:sensing": - - "*sensing*" + - "**/*sensing*" "component:simulation": - - "*simulator*" + - "**/*simulator*" "component:system": - - "*system*" + - "**/*system*" +"component:visualization": + - "**/*.rviz" + - "**/rviz" From dea7cd62fe500bdc8482f2f3a8bca207992cdcd8 Mon Sep 17 00:00:00 2001 From: ktro2828 Date: Mon, 13 May 2024 13:14:42 +0900 Subject: [PATCH 3/3] ci: apply `component:ui` Signed-off-by: ktro2828 --- .github/labeler.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/labeler.yaml b/.github/labeler.yaml index 9b5fc5b12b..412523c3a3 100644 --- a/.github/labeler.yaml +++ b/.github/labeler.yaml @@ -28,6 +28,6 @@ - "**/*simulator*" "component:system": - "**/*system*" -"component:visualization": +"component:ui": - "**/*.rviz" - "**/rviz"