diff --git a/.github/workflows/shared_discord_notify.yml b/.github/workflows/shared_discord_notify.yml index 86fd28af3ba74..da80c32ee213a 100644 --- a/.github/workflows/shared_discord_notify.yml +++ b/.github/workflows/shared_discord_notify.yml @@ -5,8 +5,8 @@ on: types: [labeled] jobs: - notify: - if: ${{ github.event.label.name == 'React Core Team' }} + notify_core: + if: ${{ !contains(github.event.pull_request.title, '[compiler]') && github.event.label.name == 'React Core Team' }} runs-on: ubuntu-latest steps: - name: Discord Webhook Action @@ -19,3 +19,17 @@ jobs: embed-title: '#${{ github.event.number }} (+${{github.event.pull_request.additions}} -${{github.event.pull_request.deletions}}): ${{ github.event.pull_request.title }}' embed-description: ${{ github.event.pull_request.body }} embed-url: ${{ github.event.pull_request.html_url }} + notify_compiler: + if: ${{ contains(github.event.pull_request.title, '[compiler]') && github.event.label.name == 'React Core Team' }} + runs-on: ubuntu-latest + steps: + - name: Discord Webhook Action + uses: tsickert/discord-webhook@v6.0.0 + with: + webhook-url: ${{ secrets.COMPILER_DISCORD_WEBHOOK_URL }} + embed-author-name: ${{ github.event.pull_request.user.login }} + embed-author-url: ${{ github.event.pull_request.user.html_url }} + embed-author-icon-url: ${{ github.event.pull_request.user.avatar_url }} + embed-title: '#${{ github.event.number }} (+${{github.event.pull_request.additions}} -${{github.event.pull_request.deletions}}): ${{ github.event.pull_request.title }}' + embed-description: ${{ github.event.pull_request.body }} + embed-url: ${{ github.event.pull_request.html_url }} diff --git a/packages/react-devtools-extensions/chrome/manifest.json b/packages/react-devtools-extensions/chrome/manifest.json index 7f29a597029a2..8eb00dbff83ad 100644 --- a/packages/react-devtools-extensions/chrome/manifest.json +++ b/packages/react-devtools-extensions/chrome/manifest.json @@ -43,7 +43,8 @@ "permissions": [ "scripting", "storage", - "tabs" + "tabs", + "clipboardWrite" ], "host_permissions": [ "" diff --git a/packages/react-devtools-extensions/edge/manifest.json b/packages/react-devtools-extensions/edge/manifest.json index dcf1448b087e0..bc636f2568b68 100644 --- a/packages/react-devtools-extensions/edge/manifest.json +++ b/packages/react-devtools-extensions/edge/manifest.json @@ -43,7 +43,8 @@ "permissions": [ "scripting", "storage", - "tabs" + "tabs", + "clipboardWrite" ], "host_permissions": [ "" diff --git a/packages/react-devtools-extensions/firefox/manifest.json b/packages/react-devtools-extensions/firefox/manifest.json index 98c8079546efb..e8dd2afad9cec 100644 --- a/packages/react-devtools-extensions/firefox/manifest.json +++ b/packages/react-devtools-extensions/firefox/manifest.json @@ -50,7 +50,8 @@ "permissions": [ "scripting", "storage", - "tabs" + "tabs", + "clipboardWrite" ], "host_permissions": [ ""