From a37d1c98e43e830bcf9cbae428d2e5f9a1c10768 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Tue, 25 Jun 2024 16:11:13 +0400 Subject: [PATCH] Switch to actions/labeler@v5 This fixes a Node.js 16 deprecation warning. --- .github/labeler.yml | 13 ++++++++----- .github/workflows/labeler.yml | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 3f409691c2..e715b49bf5 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,12 +1,15 @@ documentation: - - '*.md' +- changed-files: + - any-glob-to-any-file: '*.md' specification: - - 'specification/**/*' +- changed-files: + - any-glob-to-any-file: 'specification/**/*' generator:typescript: - - 'typescript-generator/**/*' +- changed-files: + - any-glob-to-any-file: 'typescript-generator/**/*' compiler: - - 'compiler/**/*' - - 'compiler-rs/**/*' +- changed-files: + - any-glob-to-any-file: ['compiler/**/*', 'compiler-rs/**/*'] diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 90d854452c..a788e56054 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -6,7 +6,7 @@ jobs: triage: runs-on: ubuntu-latest steps: - - uses: actions/labeler@v3 + - uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}"