Skip to content

Commit 742720a

Browse files
authored
chore: set up #codereview automation (#768)
1 parent 3024d0f commit 742720a

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/pr-chat.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: PR Chat
2+
on:
3+
pull_request_target:
4+
types: [opened, ready_for_review, closed]
5+
6+
jobs:
7+
main:
8+
runs-on: ubuntu-latest
9+
if: ${{ !github.event.pull_request.draft }}
10+
steps:
11+
- name: Checkout Actions
12+
uses: actions/checkout@v2
13+
with:
14+
repository: 'microsoft/vscode-github-triage-actions'
15+
ref: stable
16+
path: ./actions
17+
- name: Install Actions
18+
run: npm install --production --prefix ./actions
19+
- name: Run Code Review Chat
20+
uses: ./actions/code-review-chat
21+
with:
22+
token: ${{secrets.GITHUB_TOKEN}}
23+
slack_token: ${{ secrets.SLACK_TOKEN }}
24+
slack_bot_name: 'VSCodeBot'
25+
notification_channel: codereview

0 commit comments

Comments
 (0)