Skip to content

Commit

Permalink
ci: Fix discord notification action inputs (#7824)
Browse files Browse the repository at this point in the history
* ci: Fix discord notification action inputs

* ci: Move embed data to DISCORD_EMBEDS
  • Loading branch information
marksweb committed Feb 27, 2024
1 parent 8c8afb0 commit f4c77c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/new_contributor_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ jobs:
needs: new
steps:
- name: Send Discord Webhook
uses: Ilshidur/action-discord@master
with:
webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }}
content: |
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL }}
DISCORD_EMBEDS: |
{
"embeds": [
{
Expand All @@ -56,3 +55,4 @@ jobs:
}
]
}
uses: Ilshidur/action-discord@master

0 comments on commit f4c77c8

Please sign in to comment.