ci: fix pr labeler (#18710)

This commit is contained in:
Julien Robert 2023-12-13 07:51:48 +01:00 committed by GitHub
parent 570ab64762
commit 6951b27374
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -70,7 +70,7 @@
- docker-compose.yml
- scripts/*
"Type: CI":
- .github/**/*.yml
- .github/**
- buf.yaml
- .mergify.yml
- .golangci.yml

View File

@ -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 }}"