diff --git a/.github/workflows/discord_notify.yml b/.github/workflows/discord_notify.yml deleted file mode 100644 index 46481691b975d..0000000000000 --- a/.github/workflows/discord_notify.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Discord Notify - -on: - pull_request: - types: [ labeled ] - -jobs: - notify: - if: ${{ 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.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.title }}' - embed-description: ${{ github.event.pull_request.body }} - embed-url: ${{ github.event.pull_request.html_url }} - \ No newline at end of file diff --git a/.github/workflows/shared_discord_notify.yml b/.github/workflows/shared_discord_notify.yml new file mode 100644 index 0000000000000..86fd28af3ba74 --- /dev/null +++ b/.github/workflows/shared_discord_notify.yml @@ -0,0 +1,21 @@ +name: (Shared) Discord Notify + +on: + pull_request_target: + types: [labeled] + +jobs: + notify: + if: ${{ 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.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/compiler/apps/playground/components/Editor/EditorImpl.tsx b/compiler/apps/playground/components/Editor/EditorImpl.tsx index 785b9fd075d12..c475a1585a9d8 100644 --- a/compiler/apps/playground/components/Editor/EditorImpl.tsx +++ b/compiler/apps/playground/components/Editor/EditorImpl.tsx @@ -78,8 +78,6 @@ function invokeCompiler( logEvent: () => {}, }, environment, - compilationMode: 'all', - panicThreshold: 'all_errors', }); const ast = parseInput(source, language); let result = transformFromAstSync(ast, source, {