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/ci.yml b/.github/workflows/ci.yml index bffb495a6..86f105aa0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,9 +11,9 @@ jobs: name: Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "lts/*" cache: "npm" diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index 857c8dfa6..0878f55af 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -5,17 +5,16 @@ # 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@v2 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" + - uses: actions/labeler@v5 + with: + sync-labels: true