From 2742c85ec6dc9c019f7ed37e4398e4dd64a9cd7f Mon Sep 17 00:00:00 2001 From: Koen van Zuijlen <8818390+kvanzuijlen@users.noreply.github.com> Date: Tue, 23 Jan 2024 10:56:29 +0100 Subject: [PATCH] Update labeler to v5 (#2434) * Update labeler.yml * Update labeler.yaml * Update labeler.yaml --- .github/labeler.yml | 30 ++++++++++++++++++++++-------- .github/workflows/labeler.yaml | 4 ++-- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index f79458b1..2af4e27f 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,21 +1,35 @@ go: - - '**/*.go' + - changed-files: + - any-glob-to-any-file: + - '**/*.go' docs: - - '**/*.md' + - changed-files: + - any-glob-to-any-file: + - '**/*.md' changelog: - - 'CHANGELOG.md' + - cNhanged-files: + - any-glob-to-any-file: + - 'CHAGELOG.md' tests: - - '**/*_test.go' + - changed-files: + - any-glob-to-any-file: + - '**/*_test.go' provider: - - 'providers/**/*' + - changed-files: + - any-glob-to-any-file: + - 'providers/**/*' dependencies: - - 'go.mod' - - 'go.sum' +- changed-files: + - any-glob-to-any-file: + - 'go.mod' + - 'go.sum' docker: - - '**/Dockerfile' + - changed-files: + - any-glob-to-any-file: + - '**/Dockerfile' diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yaml index dfa1383b..b3e85438 100644 --- a/.github/workflows/labeler.yaml +++ b/.github/workflows/labeler.yaml @@ -9,7 +9,7 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/labeler@v4 + - uses: actions/labeler@v5 with: - sync: true + sync-labels: true dot: true