Skip to content

Commit

Permalink
Merge branch 'master' into test
Browse files Browse the repository at this point in the history
  • Loading branch information
Xunzhuo authored Dec 7, 2023
2 parents 6644423 + 2045a36 commit a799c29
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/assign.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Request review from team
uses: actions/github-script@v6
- name: Comment
uses: peter-evans/create-or-update-comment@v3
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: ['gateway-reviewers']
});
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.pull_request.number }}
body: |
This is a multi-line test comment
- With GitHub **Markdown** :sparkles:
- Created by [create-or-update-comment][1]
[1]: https://github.com/peter-evans/create-or-update-comment
reactions: 'heart'

0 comments on commit a799c29

Please sign in to comment.