File tree 6 files changed +12
-15
lines changed
6 files changed +12
-15
lines changed Original file line number Diff line number Diff line change 35
35
ISSUE_URL : ${{ github.event.issue.html_url }}
36
36
ISSUE_TITLE : ${{ github.event.issue.title }}
37
37
with :
38
- webhook : ${{ secrets.SLACK_WEBHOOK_URL }}
38
+ webhook : ${{ secrets.FEED_SLACK_WEBHOOK_URL }}
39
39
webhook-type : incoming-webhook
40
40
payload : |
41
41
{
Original file line number Diff line number Diff line change @@ -24,13 +24,12 @@ jobs:
24
24
uses : slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0
25
25
env :
26
26
ISSUE_TITLE : ${{ toJSON(github.event.issue.title || github.event.pull_request.title) }}
27
- SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
28
27
with :
29
- channel-id : ${{ secrets.SLACK_CHANNEL }}
30
- webhook : ${{ secrets.SLACK_WEBHOOK_URL }}
31
- webhook-type : incoming-webhook
28
+ method : chat.postMessage
29
+ token : ${{ secrets.SLACK_BOT_TOKEN }}
32
30
payload : |
33
31
{
32
+ "channel" : "${{ secrets.SLACK_CHANNEL }}",
34
33
"blocks": [
35
34
{
36
35
"type": "section",
Original file line number Diff line number Diff line change @@ -107,14 +107,12 @@ jobs:
107
107
- name : Send Slack Notification Upon Failure
108
108
if : ${{ failure() }}
109
109
uses : slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0
110
- env :
111
- SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
112
110
with :
113
- channel-id : ${{ secrets.SLACK_CHANNEL }}
114
- webhook : ${{ secrets.SLACK_WEBHOOK_URL }}
115
- webhook-type : incoming-webhook
111
+ method : chat.postMessage
112
+ token : ${{ secrets.SLACK_BOT_TOKEN }}
116
113
payload : |
117
114
{
115
+ "channel" : "${{ secrets.SLACK_CHANNEL }}",
118
116
"blocks": [
119
117
{
120
118
"type": "section",
Original file line number Diff line number Diff line change 36
36
MERGED_BY_URL : ${{ github.event.pull_request.merged_by.html_url }}
37
37
MERGED_BY_LOGIN : ${{ github.event.pull_request.merged_by.login }}
38
38
with :
39
- webhook : ${{ secrets.SLACK_WEBHOOK_URL }}
39
+ webhook : ${{ secrets.FEED_SLACK_WEBHOOK_URL }}
40
40
webhook-type : incoming-webhook
41
41
payload : |
42
42
{
61
61
PR_AUTHOR_URL : ${{ github.event.pull_request.user.html_url }}
62
62
PR_AUTHOR_LOGIN : ${{ github.event.pull_request.user.login }}
63
63
with :
64
- webhook : ${{ secrets.SLACK_WEBHOOK_URL }}
64
+ webhook : ${{ secrets.FEED_SLACK_WEBHOOK_URL }}
65
65
webhook-type : incoming-webhook
66
66
payload : |
67
67
{
85
85
PR_AUTHOR_URL : ${{ github.event.pull_request.user.html_url }}
86
86
PR_AUTHOR_LOGIN : ${{ github.event.pull_request.user.login }}
87
87
with :
88
- webhook : ${{ secrets.SLACK_WEBHOOK_URL }}
88
+ webhook : ${{ secrets.FEED_SLACK_WEBHOOK_URL }}
89
89
webhook-type : incoming-webhook
90
90
payload : |
91
91
{
Original file line number Diff line number Diff line change 35
35
PR_HTML_URL : ${{ github.event.pull_request.html_url }}
36
36
PR_TITLE : ${{ github.event.pull_request.title }}
37
37
with :
38
- webhook : ${{ secrets.SLACK_WEBHOOK_URL }}
38
+ webhook : ${{ secrets.FEED_SLACK_WEBHOOK_URL }}
39
39
webhook-type : incoming-webhook
40
40
payload : |
41
41
{
Original file line number Diff line number Diff line change 11
11
id : slack
12
12
uses : slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0
13
13
with :
14
- webhook : ${{ secrets.SLACK_WEBHOOK_URL }}
14
+ webhook : ${{ secrets.FEED_SLACK_WEBHOOK_URL }}
15
15
webhook-type : incoming-webhook
16
16
payload : |
17
17
{
You can’t perform that action at this time.
0 commit comments