-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: set up #codereview automation (#768)
- Loading branch information
1 parent
3024d0f
commit 742720a
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: PR Chat | ||
on: | ||
pull_request_target: | ||
types: [opened, ready_for_review, closed] | ||
|
||
jobs: | ||
main: | ||
runs-on: ubuntu-latest | ||
if: ${{ !github.event.pull_request.draft }} | ||
steps: | ||
- name: Checkout Actions | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: 'microsoft/vscode-github-triage-actions' | ||
ref: stable | ||
path: ./actions | ||
- name: Install Actions | ||
run: npm install --production --prefix ./actions | ||
- name: Run Code Review Chat | ||
uses: ./actions/code-review-chat | ||
with: | ||
token: ${{secrets.GITHUB_TOKEN}} | ||
slack_token: ${{ secrets.SLACK_TOKEN }} | ||
slack_bot_name: 'VSCodeBot' | ||
notification_channel: codereview |