File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Pull Request Slack Notification
2+
3+ on :
4+ pull_request :
5+ types : [opened, reopened]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Notify Slack on PR open
12+ env :
13+ WEBHOOK_URL : ${{ secrets.CLI_TEAM_SLACK_WEBHOOK_URL }}
14+ PULL_REQUEST_AUTHOR_ICON_URL : ${{ github.event.pull_request.user.avatar_url }}
15+ PULL_REQUEST_AUTHOR_NAME : ${{ github.event.pull_request.user.login }}
16+ PULL_REQUEST_AUTHOR_PROFILE_URL : ${{ github.event.pull_request.user.html_url }}
17+ PULL_REQUEST_BASE_BRANCH_NAME : ${{ github.event.pull_request.base.ref }}
18+ PULL_REQUEST_COMPARE_BRANCH_NAME : ${{ github.event.pull_request.head.ref }}
19+ PULL_REQUEST_NUMBER : ${{ github.event.pull_request.number }}
20+ PULL_REQUEST_REPO : ${{ github.event.pull_request.head.repo.name }}
21+ PULL_REQUEST_TITLE : ${{ github.event.pull_request.title }}
22+ PULL_REQUEST_URL : ${{ github.event.pull_request.html_url }}
23+ uses : salesforcecli/github-workflows/.github/actions/prNotification@main
You can’t perform that action at this time.
0 commit comments