diff --git a/.github/workflows/auto-label.yml b/.github/workflows/auto-label.yml new file mode 100644 index 0000000..3c5b6ad --- /dev/null +++ b/.github/workflows/auto-label.yml @@ -0,0 +1,18 @@ +name: Apply label to new issues and PRs + +on: + issues: + types: [opened] + pull_request: + types: [opened] + +jobs: + add-label: + runs-on: ubuntu-latest + steps: + - name: Add team label automatically to new issues and PRs + uses: actions-ecosystem/action-add-labels@v1 + with: + github_token: "${{ secrets.MANAGED_FLOXBOT_GITHUB_ACCESS_TOKEN_REPO_SCOPE }}" + labels: "team-developer-support" +