diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index cf21586338..5f99765804 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -3,3 +3,7 @@ # Tests /test/expectations.txt @Jarred-Sumner + +# Types +*.d.ts @alii +/packages/bun-types/ @alii diff --git a/.github/workflows/auto-assign-types.yml b/.github/workflows/auto-assign-types.yml new file mode 100644 index 0000000000..029002e433 --- /dev/null +++ b/.github/workflows/auto-assign-types.yml @@ -0,0 +1,19 @@ +name: Auto Assign Types Issues + +on: + issues: + types: [labeled] + +jobs: + auto-assign: + runs-on: ubuntu-latest + if: github.event.label.name == 'types' + permissions: + issues: write + steps: + - name: Assign to alii + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_REPO: ${{ github.repository }} + run: | + gh issue edit ${{ github.event.issue.number }} --add-assignee alii \ No newline at end of file