From 09c1c85bc7363660cfb8adf47ff7d636b4b8b113 Mon Sep 17 00:00:00 2001 From: Mason Hu Date: Wed, 24 Jan 2024 13:59:32 +0200 Subject: [PATCH] ci: fix config structure change with labeler v5 update Signed-off-by: Mason Hu --- .github/labeler.yml | 6 ++++-- .github/workflows/{labeler.yaml => labeler.yml} | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) rename .github/workflows/{labeler.yaml => labeler.yml} (72%) diff --git a/.github/labeler.yml b/.github/labeler.yml index a1c4a9e93..8518bf75f 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,3 +1,5 @@ Maintenance 🔨: - - package.json - - .gitignore +- changed-files: + - any-glob-to-any-file: + - package.json + - .gitignore diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yml similarity index 72% rename from .github/workflows/labeler.yaml rename to .github/workflows/labeler.yml index 92684f65c..dac522abc 100644 --- a/.github/workflows/labeler.yaml +++ b/.github/workflows/labeler.yml @@ -3,7 +3,10 @@ on: - pull_request_target jobs: - triage: + labeler: + permissions: + contents: read + pull-requests: write runs-on: ubuntu-latest steps: - uses: actions/labeler@v5