From 9e8b4e53ba4f0de3181bf84a1c75c2920cac24a7 Mon Sep 17 00:00:00 2001 From: Jackson Kearl Date: Thu, 12 May 2022 16:25:58 -0700 Subject: [PATCH] Add PR Chat (#149389) * Add PR Chat action * Temporarily switch to build to verify chat * Switch to codereview channel * use stable version of actions --- .github/workflows/pr-chat.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/pr-chat.yml diff --git a/.github/workflows/pr-chat.yml b/.github/workflows/pr-chat.yml new file mode 100644 index 00000000000..fdbbd0cf04b --- /dev/null +++ b/.github/workflows/pr-chat.yml @@ -0,0 +1,23 @@ +name: PR Chat +on: + pull_request: + types: [opened, ready_for_review] + +jobs: + main: + runs-on: ubuntu-latest + 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.VSCODE_ISSUE_TRIAGE_BOT_PAT}} + slack_token: ${{ secrets.SLACK_TOKEN }} + notification_channel: codereview