Skip to content

Commit 0121b4a

Browse files
authored
Sync with react.dev
1 parent deaf30a commit 0121b4a

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/discord_notify.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,11 @@ name: Discord Notify
22

33
on:
44
pull_request_target:
5-
types: [labeled]
5+
types: [ labeled ]
66

77
jobs:
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
@@ -25,4 +18,4 @@ jobs:
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 }}

0 commit comments

Comments
 (0)