Skip to content

Commit

Permalink
ci: auto assign reviewer-team when open pr (#1274)
Browse files Browse the repository at this point in the history
ci: auto assign reviewer-team when open issue/pr

Signed-off-by: bitliu <[email protected]>
  • Loading branch information
Xunzhuo authored Apr 11, 2023
1 parent 2e21114 commit 6f997c8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/assignee.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Assign

on:
pull_request_target:
types: [opened, reopened]

jobs:
assign:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
script: |
github.rest.pulls.requested_reviewers({
pull_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
team_reviewers: ['envoyproxy/gateway-reviewers']
})

0 comments on commit 6f997c8

Please sign in to comment.