File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 55 types : [labeled]
66
77jobs :
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' }}
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Discord Webhook Action
1919 embed-title : ' #${{ github.event.number }} (+${{github.event.pull_request.additions}} -${{github.event.pull_request.deletions}}): ${{ github.event.pull_request.title }}'
2020 embed-description : ${{ github.event.pull_request.body }}
2121 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