Skip to content

merging all conflicts #7

merging all conflicts

merging all conflicts #7

name: Discord Notify
on:
pull_request:
types: [opened, ready_for_review]
permissions: {}
jobs:
<<<<<<< HEAD

Check failure on line 10 in .github/workflows/discord_notify.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/discord_notify.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
=======
check_maintainer:
uses: facebook/react/.github/workflows/shared_check_maintainer.yml@main
permissions:
# Used by check_maintainer
contents: read
with:
actor: ${{ github.event.pull_request.user.login }}
is_remote: true
>>>>>>> f6d762cbbf958ca45bb8d1d011b31e5289e43a3d
notify:
if: ${{ github.event.label.name == 'React Core Team' }}
runs-on: ubuntu-latest
steps:
- name: Discord Webhook Action
uses: tsickert/[email protected]
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 }}