diff --git a/.github/labeler.yml b/.github/labeler.yml index cb97a9901..73e34377d 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,5 +1,9 @@ playground: - - playground/**/* +- any: + - changed-files: + - any-glob-to-any-file: ['playground/**/*'] translation: - - src/_data/sites/* +- any: + - changed-files: + - any-glob-to-any-file: ['src/_data/sites/*'] diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index 79e23d2a6..84f0610e9 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -5,17 +5,15 @@ # file with configuration. For more information, see: # https://github.com/actions/labeler -name: Labeler -on: [pull_request_target] - +name: "Pull Request Labeler" +on: pull_request_target jobs: - label: - runs-on: ubuntu-latest + labeler: permissions: contents: read pull-requests: write - + runs-on: ubuntu-latest steps: - - uses: actions/labeler@v5 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" + - uses: actions/labeler@v5 + with: + sync-labels: true