Skip to content

Commit

Permalink
format embeds
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrusch committed Dec 10, 2023
1 parent a07e8ea commit 91e6b40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/vote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
if: ${{ env.DISCORD_WEBHOOK != '' }}
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_TEST }}
DISCORD_EMBEDS: '[{ "color":"${{ steps.vars.outputs.color }}", "title":"${{ steps.vars.outputs.title }}", "description":"${{ steps.vars.outputs.subabs }}"},{ "title": "Merge PR ${{ steps.paperpr.outputs.pull-request-number }}", "url": "${{ steps.paperpr.outputs.pull-request-url }}" }]'
DISCORD_EMBEDS: '[{ "color":"${{ steps.vars.outputs.color }}", "fields": [{ "name":"${{ steps.vars.outputs.title }}", "value":"${{ steps.vars.outputs.subabs }}"}, { "name": "Github PR", "value": "[Merge PR ${{ steps.paperpr.outputs.pull-request-number }}](${{ steps.paperpr.outputs.pull-request-url }})"} ] }]'
uses: Ilshidur/action-discord@master
with:
args: "**Vote option ${{ matrix.options }} | ${{ env.NOW }}**"
Expand All @@ -94,4 +94,4 @@ jobs:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_TEST }}
uses: Ilshidur/action-discord@master
with:
args: "**Instructions** Rank paper options with numbers :one: (favorite) -- :three: (least favorite). Merge selected PR to confirm next paper."
args: "**Voting Instructions.**\n\n- Rank vote papers using numbers :one: -- :three: favorite -- least favorite.\n- Set the winner by merging its PR."

0 comments on commit 91e6b40

Please sign in to comment.