File tree Expand file tree Collapse file tree 4 files changed +8
-9
lines changed Expand file tree Collapse file tree 4 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -1449,7 +1449,6 @@ jobs:
1449
1449
- name : Send report
1450
1450
uses : slackapi/slack-github-action@v2
1451
1451
with :
1452
+ webhook : ${{ secrets.SLACK_OV_ALERTS_WEBHOOK_URL }}
1453
+ webhook-type : incoming-webhook
1452
1454
payload : ${{ steps.report.outputs.payload }}
1453
- env :
1454
- SLACK_WEBHOOK_URL : ${{ secrets.SLACK_OV_ALERTS_WEBHOOK_URL }}
1455
- SLACK_WEBHOOK_TYPE : INCOMING_WEBHOOK
Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ jobs:
16
16
discussion_title : ${{ format('{0}', github.event.discussion.title) }}
17
17
discussion_author : ${{ github.event.discussion.user.login }}
18
18
discussion_repo : ${{ github.event.repository.full_name }}
19
- SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
20
- SLACK_WEBHOOK_TYPE : INCOMING_WEBHOOK
21
19
steps :
22
20
- name : Send notification for new discussion
23
21
id : slack
24
22
uses : slackapi/slack-github-action@v2
25
23
with :
24
+ webhook : ${{ secrets.SLACK_WEBHOOK_URL }}
25
+ webhook-type : incoming-webhook
26
26
payload : |
27
27
{
28
28
"text": "New discussion opened by ${{ env.discussion_author }} in ${{ env.discussion_repo }}: #${{ env.discussion_number }} - ${{ env.discussion_title }}",
Original file line number Diff line number Diff line change 33
33
env :
34
34
pr_count : ${{ needs.analyze-user-prs.outputs.pr_count }}
35
35
slack_id : ${{ needs.analyze-user-prs.outputs.slack_id }}
36
- SLACK_WEBHOOK_URL : ${{ secrets.SLACK_DM_WEBHOOK_URL }}
37
- SLACK_WEBHOOK_TYPE : INCOMING_WEBHOOK
38
36
steps :
39
37
- name : Set required review count
40
38
run : |
43
41
id : slack
44
42
uses : slackapi/slack-github-action@v2
45
43
with :
44
+ webhook : ${{ secrets.SLACK_DM_WEBHOOK_URL }}
45
+ webhook-type : incoming-webhook
46
46
# Note: We cannot use the YAML folded chomping block syntax here (`>`) because
47
47
# GitHub Actions does not support it (they only support a subset of YAML):
48
48
# https://github.com/actions/runner/issues/418#issuecomment-612928525
Original file line number Diff line number Diff line change 19
19
runs-on : ubuntu-latest
20
20
env :
21
21
EVENT_ACTION : ${{ github.event.action }}
22
- SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
23
- SLACK_WEBHOOK_TYPE : INCOMING_WEBHOOK
24
22
steps :
25
23
- name : Write payload to file
26
24
uses : actions/github-script@v7
53
51
- name : Send Slack notification
54
52
uses : slackapi/slack-github-action@v2
55
53
with :
54
+ webhook : ${{ secrets.SLACK_WEBHOOK_URL }}
55
+ webhook-type : incoming-webhook
56
56
payload-file-path : /tmp/pr_ping_payload.json
You can’t perform that action at this time.
0 commit comments