mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-15 23:59:08 +00:00
fix: wrong format
This commit is contained in:
22
.github/workflows/notification.yaml
vendored
22
.github/workflows/notification.yaml
vendored
@@ -5,14 +5,14 @@ on:
|
|||||||
types: [opened, reopened]
|
types: [opened, reopened]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
notify:
|
notify:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
uses: joelwmale/webhook-action@master
|
- uses: joelwmale/webhook-action@master
|
||||||
with:
|
with:
|
||||||
webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
url: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
||||||
body: >
|
body: |
|
||||||
{
|
{
|
||||||
"content": "New Pull Request: ${{ github.event.pull_request.title }}\nBy: ${{ github.event.pull_request.login}}\n\n${{ github.event.pull_request.html_url}}",
|
"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"
|
"avatar_url": "https://avatars.githubusercontent.com/u/193271640"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user