diff --git a/.github/labeler.yml b/.github/labeler.yml index 9355f129..7accc194 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -12,12 +12,15 @@ chore: tests: - head-branch: ['^tests/', '^test/'] - - changed-files: ['__tests__/**/*'] + - changed-files: + - any-glob-to-any-file: ['__tests__/**/*'] documentation: - head-branch: ['^docs/', '^doc/'] - - changed-files: '**/*.md' + - changed-files: + - any-glob-to-any-file: '**/*.md' dependencies: - head-branch: ['^deps/', '^dep/', '^dependabot/'] - - changed-files: ['package.json', 'package-lock.json'] + - changed-files: + - any-glob-to-any-file: ['package.json', 'package-lock.json'] diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index ee8e053b..6b56cbc9 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -12,6 +12,7 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/labeler@v5.0.0-alpha.1 + - uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" + sync-labels: true