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