From efa52bfee60f7c13eecfd73b9dc4fd3bab7b8a70 Mon Sep 17 00:00:00 2001 From: Michael Stahnke Date: Tue, 10 Dec 2024 20:58:31 -0600 Subject: [PATCH] chore: Add auto-label to repo (#8) --- .github/workflows/auto-label.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/auto-label.yml 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" +