From 323ff4a6185f332b70eb453e9ff895014b0a0092 Mon Sep 17 00:00:00 2001 From: SF-CLI-BOT Date: Thu, 6 May 2021 22:05:39 +0000 Subject: [PATCH] chore: sync github PR slack notification [skip-validate-pr][skip-ci] Authored via Leif --- .github/workflows/slackprnotification.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/slackprnotification.yml b/.github/workflows/slackprnotification.yml index 0b5dd2fe..1ad0db97 100644 --- a/.github/workflows/slackprnotification.yml +++ b/.github/workflows/slackprnotification.yml @@ -11,13 +11,13 @@ jobs: - name: Notify slack pr open env: SLACK_WEBHOOK_URL : ${{ secrets.CLI_TEAM_SLACK_WEBHOOK_URL }} + PULL_REQUEST_AUTHOR_ICON_URL : ${{ github.event.pull_request.user.avatar_url }} + PULL_REQUEST_AUTHOR_NAME : ${{ github.event.pull_request.user.login }} + PULL_REQUEST_AUTHOR_PROFILE_URL: ${{ github.event.pull_request.user.html_url }} + PULL_REQUEST_BASE_BRANCH_NAME : ${{ github.event.pull_request.base.ref }} + PULL_REQUEST_COMPARE_BRANCH_NAME : ${{ github.event.pull_request.head.ref }} PULL_REQUEST_NUMBER : ${{ github.event.pull_request.number }} + PULL_REQUEST_REPO: ${{ github.event.pull_request.head.repo.name }} PULL_REQUEST_TITLE : ${{ github.event.pull_request.title }} - PULL_REQUEST_AUTHOR_NAME : ${{ github.event.pull_request.user.login }} - PULL_REQUEST_AUTHOR_ICON_URL : ${{ github.event.pull_request.user.avatar_url }} PULL_REQUEST_URL : ${{ github.event.pull_request.html_url }} - PULL_REQUEST_BODY : ${{ github.event.pull_request.body }} - PULL_REQUEST_COMPARE_BRANCH_NAME : ${{ github.event.pull_request.head.ref }} - PULL_REQUEST_BASE_BRANCH_NAME : ${{ github.event.pull_request.base.ref }} - IS_SEND_HERE_MENTION : false - uses: jun3453/slack-pr-open-notification-action@v1.0.2 + uses: salesforcecli/pr-notification-action@main