mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 13:29:44 +00:00
Switch to webhook (#165853)
This commit is contained in:
parent
54a073d04e
commit
a7b9ce83fb
26
.github/workflows/pr-chat.yml
vendored
26
.github/workflows/pr-chat.yml
vendored
|
@ -1,26 +0,0 @@
|
|||
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@v3
|
||||
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.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
|
||||
slack_token: ${{ secrets.SLACK_TOKEN }}
|
||||
slack_user_token: ${{ secrets.SLACK_USER_TOKEN }}
|
||||
slack_bot_name: "VSCodeBot"
|
||||
notification_channel: codereview
|
Loading…
Reference in a new issue