File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -2,18 +2,11 @@ name: Discord Notify
22
33on :
44 pull_request_target :
5- types : [labeled]
5+ types : [ labeled ]
66
77jobs :
8- check_maintainer :
9- uses : facebook/react/.github/workflows/shared_check_maintainer.yml@main
10- with :
11- actor : ${{ github.event.pull_request.user.login }}
12- is_remote : true
13-
148 notify :
15- if : ${{ needs.check_maintainer.outputs.is_core_team == 'true' }}
16- needs : check_maintainer
9+ if : ${{ github.event.label.name == 'React Core Team' }}
1710 runs-on : ubuntu-latest
1811 steps :
1912 - name : Discord Webhook Action
2518 embed-author-icon-url : ${{ github.event.pull_request.user.avatar_url }}
2619 embed-title : ' #${{ github.event.number }} (+${{github.event.pull_request.additions}} -${{github.event.pull_request.deletions}}): ${{ github.event.pull_request.title }}'
2720 embed-description : ${{ github.event.pull_request.body }}
28- embed-url : ${{ github.event.pull_request.html_url }}
21+ embed-url : ${{ github.event.pull_request.html_url }}
You can’t perform that action at this time.
0 commit comments