From 6951b273746646e24ec577fae4b04a8efb97eeec Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Wed, 13 Dec 2023 07:51:48 +0100 Subject: [PATCH] ci: fix pr labeler (#18710) --- .github/pr_labeler.yml | 2 +- .github/workflows/pr_labeler.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/pr_labeler.yml b/.github/pr_labeler.yml index 4776f36cbd..88fcea7233 100644 --- a/.github/pr_labeler.yml +++ b/.github/pr_labeler.yml @@ -70,7 +70,7 @@ - docker-compose.yml - scripts/* "Type: CI": - - .github/**/*.yml + - .github/** - buf.yaml - .mergify.yml - .golangci.yml diff --git a/.github/workflows/pr_labeler.yml b/.github/workflows/pr_labeler.yml index 885d8b47db..db6cc65185 100644 --- a/.github/workflows/pr_labeler.yml +++ b/.github/workflows/pr_labeler.yml @@ -8,11 +8,11 @@ permissions: jobs: labeler: permissions: - contents: read # for actions/labeler to determine modified files - pull-requests: write # for actions/labeler to add labels to PRs + contents: read # for actions/labeler to determine modified files + pull-requests: write # for actions/labeler to add labels to PRs runs-on: ubuntu-latest steps: - - uses: actions/labeler@main + - uses: actions/labeler@v4 # v5 is broken, ref https://github.com/actions/labeler/issues/712. Do not bump. with: configuration-path: .github/pr_labeler.yml repo-token: "${{ secrets.GITHUB_TOKEN }}"