Auto assign @alii on anything with types (#22581)

Adds a GitHub workflow to assign me on anything with the `types` label
This commit is contained in:
Alistair Smith
2025-09-11 14:28:31 -07:00
committed by GitHub
parent 3b7d1f7be2
commit 6e9d57a953
2 changed files with 23 additions and 0 deletions

4
.github/CODEOWNERS vendored
View File

@@ -3,3 +3,7 @@
# Tests # Tests
/test/expectations.txt @Jarred-Sumner /test/expectations.txt @Jarred-Sumner
# Types
*.d.ts @alii
/packages/bun-types/ @alii

19
.github/workflows/auto-assign-types.yml vendored Normal file
View File

@@ -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