diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..d873fd952 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,11 @@ +bug: + - title: 'fix*' + +enhancement: + - title: 'feat*' + +ospp-2024: + - base-branch: ['ospp-2024/*'] + +document: + - '**/*.md' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000..cb5b7b699 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,15 @@ +name: Pull Request Labeler + +on: + pull_request: + types: [opened, edited] + +jobs: + label: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/labeler@v5 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + sync-labels: true