Skip to content

Commit ab47a4b

Browse files
authored
Merge pull request #65 from salesforcecli/sync-github-actions
chore: sync github PR slack notification
2 parents 6f0d1c4 + 8dcfbbd commit ab47a4b

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Slack pull request open 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 pr open
12+
env:
13+
SLACK_WEBHOOK_URL : ${{ secrets.CLI_TEAM_SLACK_WEBHOOK_URL }}
14+
PULL_REQUEST_NUMBER : ${{ github.event.pull_request.number }}
15+
PULL_REQUEST_TITLE : ${{ github.event.pull_request.title }}
16+
PULL_REQUEST_AUTHOR_NAME : ${{ github.event.pull_request.user.login }}
17+
PULL_REQUEST_AUTHOR_ICON_URL : ${{ github.event.pull_request.user.avatar_url }}
18+
PULL_REQUEST_URL : ${{ github.event.pull_request.html_url }}
19+
PULL_REQUEST_BODY : ${{ github.event.pull_request.body }}
20+
PULL_REQUEST_COMPARE_BRANCH_NAME : ${{ github.event.pull_request.head.ref }}
21+
PULL_REQUEST_BASE_BRANCH_NAME : ${{ github.event.pull_request.base.ref }}
22+
IS_SEND_HERE_MENTION : false
23+
uses: jun3453/[email protected]

0 commit comments

Comments
 (0)