Merge pull request #32371 from benoittgt/ci/tag-v4

ci: auto-label PRs targeting main with v4.x
This commit is contained in:
George Jenkins
2026-07-19 16:55:32 -07:00
committed by GitHub
2 changed files with 18 additions and 0 deletions

2
.github/labeler.yml vendored Normal file
View File

@@ -0,0 +1,2 @@
"v4.x":
- base-branch: "main"

16
.github/workflows/label-pr.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: Label PRs
on:
pull_request_target:
branches: [main]
types: [opened, reopened, edited, synchronize]
permissions: {}
jobs:
label:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@b8dd2d9be0f68b860e7dae5dae7d772984eacd6d # pin@v6.2.0
with:
sync-labels: true