diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000..3f80fc6e --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,3 @@ +# Add needs triage label to all new issues +needs-triage: + - "" diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml new file mode 100644 index 00000000..a14cc65d --- /dev/null +++ b/.github/workflows/triage.yml @@ -0,0 +1,15 @@ +name: "Needs Triage" +on: + issues: + types: [opened] + +jobs: + triage: + if: github.event.issue.labels[0] == null + runs-on: ubuntu-latest + steps: + - uses: github/issue-labeler@v2.5 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + configuration-path: .github/labeler.yml + enable-versioned-regex: 0