mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
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:
4
.github/CODEOWNERS
vendored
4
.github/CODEOWNERS
vendored
@@ -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
19
.github/workflows/auto-assign-types.yml
vendored
Normal 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
|
||||||
Reference in New Issue
Block a user