From 562d2c732560d5069cc79a44673c4c4bbadf1013 Mon Sep 17 00:00:00 2001 From: Alexander Koz <888526+boozook@users.noreply.github.com> Date: Mon, 4 Mar 2024 15:53:03 +0400 Subject: [PATCH] CI: update action labeler (#220) --- .github/labeler.yml | 30 ++++++++++++++++++------------ .github/workflows/labeler.yml | 6 +++--- 2 files changed, 21 insertions(+), 15 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 6cbfa9f7..9197098e 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,21 +1,27 @@ api: - - any: - - "api/**" - - "components/**" + - changed-files: + - any: + - "api/**" + - "components/**" pre-built bindings: - - any: - - "api/gen/*" + - changed-files: + - any: + - "api/gen/*" cargo: - - any: - - "cargo/**" + - changed-files: + - any: + - "cargo/**" bindgen: - - any: - - "support/bindgen/**" + - changed-files: + - any: + - "support/bindgen/**" + - "support/bindgen-cfg/**" docs: - - any: - - "**/*.md" - - "**/*.txt" + - changed-files: + - any: + - "**/*.md" + - "**/*.txt" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 21d9a60e..e9c90140 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -10,7 +10,7 @@ jobs: pull-requests: write steps: - uses: actions/checkout@v4 - - uses: actions/labeler@v4 + - uses: actions/labeler@v5.0.0 with: - dot: false - sync-labels: false + sync-labels: true + # dot: false