From f1076fcf5f4d9e271190a12e07bbe883f8333d10 Mon Sep 17 00:00:00 2001 From: Zakaria Mansouri Date: Mon, 1 Jan 2024 18:22:18 +0100 Subject: [PATCH] Update labeler configuration --- .github/labeler.yml | 40 ++++++++++++++--------------------- .github/workflows/labeler.yml | 1 - 2 files changed, 16 insertions(+), 25 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 7624e04..de173e8 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,39 +1,31 @@ -# Add 'data' to any changes within '_data' folder or any subfolders data: - paths: - - "_data/**/*" + - changed-files: + - any-glob-to-any-file: "_data/**" -# Add 'schemas' to any changes within '_schemas' folder or any subfolders schemas: - paths: - - "_schemas/**/*" + - changed-files: + - any-glob-to-any-file: "_schemas/**" -# Add 'csharp' to any changes within 'csharp' folder or any subfolders csharp: - paths: - - "csharp/**/*" + - changed-files: + - any-glob-to-any-file: "csharp/**" -# Add 'java' to any changes within 'java' folder or any subfolders java: - paths: - - "java/**/*" + - changed-files: + - any-glob-to-any-file: "java/**" -# Add 'javascript' to any changes within 'javascript' folder or any subfolders javascript: - paths: - - "javascript/**/*" + - changed-files: + - any-glob-to-any-file: "javascript/**" -# Add 'php' to any changes within 'php' folder or any subfolders php: - paths: - - "php/**/*" + - changed-files: + - any-glob-to-any-file: "php/**" -# Add 'python' to any changes within 'python' folder or any subfolders python: - paths: - - "python/**/*" + - changed-files: + - any-glob-to-any-file: "python/**" -# Add 'rust' to any changes within 'rust' folder or any subfolders rust: - paths: - - "rust/**/*" + - changed-files: + - any-glob-to-any-file: "rust/**" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index c58d8e8..9cdb111 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,6 +1,5 @@ name: "Pull Request Labeler" on: - # - pull_request_target - pull_request jobs: