diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..35f388bd3 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,2 @@ +"dev-v3": + - base-branch: "dev-v3" diff --git a/.github/workflows/label-pr.yml b/.github/workflows/label-pr.yml new file mode 100644 index 000000000..7cd12d3fd --- /dev/null +++ b/.github/workflows/label-pr.yml @@ -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