From e88d31f8e072797f32a19cbc6d332193e6ef0901 Mon Sep 17 00:00:00 2001 From: "voxel!()" Date: Sun, 31 Dec 2023 10:30:17 -0800 Subject: [PATCH 1/4] Fix file globs in labeler --- .github/labeler.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 25e0e9f..49b038b 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,4 +1,6 @@ 'pr': -- src/**/* +- changed-files: + - any-glob-to-any-file: src/** 'ci': -- .github/**/* +- changed-files: + - any-glob-to-any-file: .github/** From 098c3acb8cbdbdc60e7480bb415b59c9b765ac43 Mon Sep 17 00:00:00 2001 From: "voxel!()" Date: Sun, 31 Dec 2023 10:32:56 -0800 Subject: [PATCH 2/4] Update label.yml --- .github/workflows/label.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index b70f5bf..9bab6a7 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -9,6 +9,9 @@ jobs: triage: runs-on: ubuntu-latest if: github.repository_owner == 'labcatr' + permissions: + contents: read + pull-requests: write steps: - uses: actions/labeler@v4 with: From 86486a23c9fd8a69277b300b2ad4fcbbab351fbd Mon Sep 17 00:00:00 2001 From: "voxel!()" Date: Sun, 31 Dec 2023 10:35:43 -0800 Subject: [PATCH 3/4] Update label.yml --- .github/workflows/label.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index 9bab6a7..a493bf4 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -3,7 +3,7 @@ name: Label PRs on: - - pull_request_target + - pull_request jobs: triage: From 2bef15c7dfbc285779ff2be91b1111aec8aa6ac2 Mon Sep 17 00:00:00 2001 From: "voxel!()" Date: Sun, 31 Dec 2023 10:36:27 -0800 Subject: [PATCH 4/4] Update .github/workflows/label.yml --- .github/workflows/label.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index a493bf4..9bab6a7 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -3,7 +3,7 @@ name: Label PRs on: - - pull_request + - pull_request_target jobs: triage: