From c5775311c0af3b4a476fdb6ee9f316e5f15d37e9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 10:06:31 +0000 Subject: [PATCH 1/4] build(deps): bump actions/labeler from 4 to 5 Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5. - [Release notes](https://github.com/actions/labeler/releases) - [Commits](https://github.com/actions/labeler/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/labeler dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/labeler.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 17f451fd6..cc5c5400f 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -12,7 +12,7 @@ jobs: pull-requests: write # for actions/labeler to add labels to PRs runs-on: ubuntu-latest steps: - - uses: actions/labeler@v4 + - uses: actions/labeler@v5 with: repo-token: "${{ github.token }}" From 1246b457b9d5434b773f029ab9f4c4fbac324310 Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Sat, 23 Dec 2023 14:13:34 -0500 Subject: [PATCH 2/4] switch trigger event to test Signed-off-by: Marc Khouzam --- .github/workflows/labeler.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index cc5c5400f..cbacd8c1a 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,6 +1,6 @@ name: "Pull Request Labeler" on: -- pull_request_target +- pull_request permissions: contents: read From 70348785f796bfa19ef0505f5de4e1f9f007424c Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Sat, 23 Dec 2023 14:44:40 -0500 Subject: [PATCH 3/4] Update labeler configuration for v5 Signed-off-by: Marc Khouzam --- .github/labeler.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 0f0bc3c9a..0db3be271 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,17 +1,24 @@ # changes to documentation generation -"area/docs-generation": doc/**/* +"area/docs-generation": +- changed-files: + - any-glob-to-any-file: 'doc/**' # changes to the core cobra command "area/cobra-command": -- any: ['./cobra.go', './cobra_test.go', './*command*.go'] +- changed-files: + - any-glob-to-any-file: ['./cobra.go', './cobra_test.go', './*command*.go'] # changes made to command flags/args -"area/flags": ./args*.go +"area/flags": +- changed-files: + - any-glob-to-any-file: './args*.go' # changes to Github workflows -"area/github": .github/**/* +"area/github": +- changed-files: + - any-glob-to-any-file: '.github/**' # changes to shell completions "area/shell-completion": - - ./*completions* - +- changed-files: + - any-glob-to-any-file: './*completions*' From 49061ee7a392af222dc83826c66d8092fdac8249 Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Sat, 23 Dec 2023 14:47:26 -0500 Subject: [PATCH 4/4] Revert "switch trigger event to test" This reverts commit 1246b457b9d5434b773f029ab9f4c4fbac324310. --- .github/workflows/labeler.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index cbacd8c1a..cc5c5400f 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,6 +1,6 @@ name: "Pull Request Labeler" on: -- pull_request +- pull_request_target permissions: contents: read