Skip to content

Commit

Permalink
Merge branch 'master' into revert-185-revert-182-ci-merge-4
Browse files Browse the repository at this point in the history
  • Loading branch information
Xunzhuo authored Dec 7, 2023
2 parents eb7fb29 + 9a30a06 commit 2127053
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/assign.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Auto Request Review

on:
pull_request_target:
types: [opened, reopened, synchronize]

jobs:
auto-request-review:
runs-on: ubuntu-latest
steps:
- name: Request review from team
uses: actions/github-script@v6
with:
script: |
const pullRequestNumber = context.payload.pull_request.number;
await github.rest.pulls.requestReviewers({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: pullRequestNumber,
team_reviewers: ['admin']
});
github-token: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions MEMBERS
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ lauruce
leibnizlq
leoyeer
LeuisKen
Liamdev631
llyloveyh
longbill
lorrylockie
Expand Down

0 comments on commit 2127053

Please sign in to comment.