ci: fix pr labeler (#18710)
This commit is contained in:
parent
570ab64762
commit
6951b27374
2
.github/pr_labeler.yml
vendored
2
.github/pr_labeler.yml
vendored
@ -70,7 +70,7 @@
|
||||
- docker-compose.yml
|
||||
- scripts/*
|
||||
"Type: CI":
|
||||
- .github/**/*.yml
|
||||
- .github/**
|
||||
- buf.yaml
|
||||
- .mergify.yml
|
||||
- .golangci.yml
|
||||
|
||||
6
.github/workflows/pr_labeler.yml
vendored
6
.github/workflows/pr_labeler.yml
vendored
@ -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 }}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user