mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 18:32:56 +01:00
Add pr chat bot
This commit is contained in:
parent
ab869e8469
commit
dd2db387ab
1 changed files with 25 additions and 0 deletions
25
.github/workflows/pr-chat.yml
vendored
Normal file
25
.github/workflows/pr-chat.yml
vendored
Normal file
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue