ci: auto-label PRs targeting dev-v3

Use actions/labeler to apply a "dev-v3" label on PRs
opened against the `dev-v3` branch.

Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
pull/32340/head
Benoit Tigeot 3 months ago
parent b842ddfccb
commit 59f4e506d6
No known key found for this signature in database
GPG Key ID: 8E6D4FC8AEBDA62C

@ -0,0 +1,2 @@
"dev-v3":
- base-branch: "dev-v3"

@ -0,0 +1,15 @@
name: Label PRs
on:
pull_request_target:
types: [opened]
permissions: {}
jobs:
label:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # pin@v5.0.0
with:
sync-labels: true
Loading…
Cancel
Save