File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99jobs :
1010 notify-slack :
1111 runs-on : ubuntu-latest
12- if : (github.event_name == 'pull_request' && github.event.label.name == 'pr/external') || github.event_name == 'issues'
1312 permissions :
1413 contents : read
1514 steps :
1615 - name : Send External PR Notification
17- if : github.event_name == 'pull_request'
16+ if : github.event_name == 'pull_request' && github.event.label.name == 'pr/external'
1817 uses : rtCamp/action-slack-notify@e31e87e03dd19038e411e38ae27cbad084a90661 # v2
1918 env :
2019 SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK_URL }}
@@ -23,11 +22,11 @@ jobs:
2322 MSG_MINIMAL : true
2423 SLACK_MESSAGE : ' ${{ github.event.pull_request.html_url }}'
2524 - name : Send New Issue Notification
26- if : github.event_name == 'issues '
25+ if : github.event_name == 'issue '
2726 uses : rtCamp/action-slack-notify@e31e87e03dd19038e411e38ae27cbad084a90661 # v2
2827 env :
2928 SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK_URL }}
3029 SLACK_TITLE : ' Issue Created: ${{ github.event.issue.title }} by ${{ github.event.issue.user.login }}'
3130 SLACK_FOOTER : ' '
3231 MSG_MINIMAL : true
33- SLACK_MESSAGE : ' ${{ github.event.issue.html_url }}'
32+ SLACK_MESSAGE : ' ${{ github.event.issue.html_url }}'
You can’t perform that action at this time.
0 commit comments