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