From c4c97486f2602bb6a61335d7975a18497753cf05 Mon Sep 17 00:00:00 2001 From: Amaresh S M Date: Tue, 24 Sep 2024 18:50:12 +0530 Subject: [PATCH] ci: Update the actions version to the latest (#627) * ci: Update the actions version to the latest * update label workflow to v5 * Update label.yml --- .github/labeler.yml | 8 ++++++-- .github/workflows/ci.yml | 4 ++-- .github/workflows/label.yml | 17 ++++++++--------- 3 files changed, 16 insertions(+), 13 deletions(-) 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