From 97765d961c2fbca3fd0b8ac592849ff3d152af37 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Mon, 11 Dec 2023 17:29:11 -0800 Subject: [PATCH] Bump labeler to v5.0.0 and update config (#28) --- .github/labeler.yml | 6 ++++-- .github/workflows/labeler.yml | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index dd295b5..71855cd 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -12,8 +12,10 @@ chore: documentation: - head-branch: ['^docs/', '^doc/'] - - changed-files: '**/*.md' + - changed-files: + - any-glob-to-any-file: '**/*.md' dependencies: - head-branch: ['^deps/', '^dep/', '^dependabot/'] - - changed-files: ['go.mod', 'go.sum'] + - changed-files: + - any-glob-to-any-file: ['go.mod', 'go.sum'] diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 495e427..c210108 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -12,6 +12,7 @@ jobs: pull-requests: write runs-on: ubuntu-22.04 steps: - - uses: actions/labeler@4f052778de9a9b80cb16cfb9079b02287285a4cb # v5.0.0-alpha.1 + - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" + sync-labels: true