diff --git a/.github/workflows/autotriage.yml b/.github/workflows/autotriage.yml new file mode 100644 index 0000000..709be99 --- /dev/null +++ b/.github/workflows/autotriage.yml @@ -0,0 +1,24 @@ +name: AutoTriage + +on: + issues: + types: [opened] + +permissions: + contents: read + issues: write + pull-requests: write + +jobs: + triage: + if: ${{ github.repository_owner == 'MudBlazor' && github.event.sender.type != 'Bot' }} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + + - uses: danielchalmers/AutoTriage@v4 + with: + issues: ${{ github.event.issue.number }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}