diff --git a/.github/workflows/notification.yaml b/.github/workflows/notification.yaml index ffb1240d..00cab601 100644 --- a/.github/workflows/notification.yaml +++ b/.github/workflows/notification.yaml @@ -5,14 +5,14 @@ on: types: [opened, reopened] jobs: - notify: - runs-on: ubuntu-latest - steps: - uses: joelwmale/webhook-action@master - with: - webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }} - body: > - { - "content": "New Pull Request: ${{ github.event.pull_request.title }}\nBy: ${{ github.event.pull_request.login}}\n\n${{ github.event.pull_request.html_url}}", - "avatar_url": "https://avatars.githubusercontent.com/u/193271640" - } \ No newline at end of file + notify: + runs-on: ubuntu-latest + steps: + - uses: joelwmale/webhook-action@master + with: + url: ${{ secrets.DISCORD_WEBHOOK_URL }} + body: | + { + "content": "New Pull Request: ${{ github.event.pull_request.title }}\nBy: ${{ github.event.pull_request.user.login }}\n\n${{ github.event.pull_request.html_url }}", + "avatar_url": "https://avatars.githubusercontent.com/u/193271640" + }