From a2acfd3b6ed9560fe66126acc3788bf1adc1597a Mon Sep 17 00:00:00 2001 From: Toby Lawrence Date: Thu, 9 Dec 2021 09:34:10 -0500 Subject: [PATCH 1/2] chore: update labeler.yml to drop filepath prefixes Using the `./` prefix apparently foobars the config and makes it not match anything. --- .github/labeler.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 604d3631a27..6e53c92aaf7 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,9 +1,8 @@ R-loom: -- ./tokio/src/sync/* -- ./tokio/src/sync/**/* -- ./tokio-util/src/sync/* -- ./tokio-util/src/sync/**/* -- ./tokio/src/runtime/* -- ./tokio/src/runtime/**/* - +- tokio/src/sync/* +- tokio/src/sync/**/* +- tokio-util/src/sync/* +- tokio-util/src/sync/**/* +- tokio/src/runtime/* +- tokio/src/runtime/**/* From da65074828704d9a1e99832febb8810c533229d3 Mon Sep 17 00:00:00 2001 From: Toby Lawrence Date: Thu, 9 Dec 2021 09:35:28 -0500 Subject: [PATCH 2/2] make sure labeler enforces labels over lifetime of PR --- .github/workflows/labeler.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 4386c381510..6d5dd6fbe1b 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -11,3 +11,4 @@ jobs: - uses: actions/labeler@v3 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" + sync-labels: true