File tree 1 file changed +16
-2
lines changed
1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 5
5
types : [labeled]
6
6
7
7
jobs :
8
- notify :
9
- if : ${{ github.event.label.name == 'React Core Team' }}
8
+ notify_core :
9
+ if : ${{ !contains(github.event.pull_request.title, '[compiler]') && github.event.label.name == 'React Core Team' }}
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- name : Discord Webhook Action
19
19
embed-title : ' #${{ github.event.number }} (+${{github.event.pull_request.additions}} -${{github.event.pull_request.deletions}}): ${{ github.event.pull_request.title }}'
20
20
embed-description : ${{ github.event.pull_request.body }}
21
21
embed-url : ${{ github.event.pull_request.html_url }}
22
+ notify_compiler :
23
+ if : ${{ contains(github.event.pull_request.title, '[compiler]') && github.event.label.name == 'React Core Team' }}
24
+ runs-on : ubuntu-latest
25
+ steps :
26
+ - name : Discord Webhook Action
27
+
28
+ with :
29
+ webhook-url : ${{ secrets.COMPILER_DISCORD_WEBHOOK_URL }}
30
+ embed-author-name : ${{ github.event.pull_request.user.login }}
31
+ embed-author-url : ${{ github.event.pull_request.user.html_url }}
32
+ embed-author-icon-url : ${{ github.event.pull_request.user.avatar_url }}
33
+ embed-title : ' #${{ github.event.number }} (+${{github.event.pull_request.additions}} -${{github.event.pull_request.deletions}}): ${{ github.event.pull_request.title }}'
34
+ embed-description : ${{ github.event.pull_request.body }}
35
+ embed-url : ${{ github.event.pull_request.html_url }}
You can’t perform that action at this time.
0 commit comments