diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 0000000000000..985eb7d87b8f3 --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,19 @@ + +name: Auto Label Issues and PRs + +on: + issues: + types: [opened, edited] + pull_request: + types: [opened, edited, reopened] + +jobs: + label: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions-ecosystem/action-add-labels@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + labels: | + needs review