discord-action icon indicating copy to clipboard operation
discord-action copied to clipboard

Default message does not send anything

Open T04435 opened this issue 1 year ago • 3 comments

Hi according to the docs there is a Default message option:

- name: send message
  uses: appleboy/discord-action@master
  with:
    webhook_id: ${{ secrets.WEBHOOK_ID }}
    webhook_token: ${{ secrets.WEBHOOK_TOKEN }}

When I use this option in my workflow it does not send any message to discord. Q:

  • What is the expected output of the default message?
  • When using message how can I add a link the the issue that triggered the event?

This is what I have

Default message, nothing in Discord

name: Discord
on:
  issues:
    types: [opened, labeled]

jobs:
  build:
    if: ${{ github.event.label.name == 'bug' }}
    name: Notify new Bug
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: send test message
      uses: appleboy/discord-action@master
      with:
        webhook_id: ${{ secrets.WEBHOOK_ID }}
        webhook_token: ${{ secrets.WEBHOOK_TOKEN }}
        // message: [What to add here to get a link to the issue]

Thanks.

T04435 avatar Jul 29 '22 07:07 T04435

This issue still actual. message field not sending anything to discord.

Krutoy242 avatar May 28 '23 08:05 Krutoy242

@Krutoy242 @T04435 I will take it.

appleboy avatar Sep 24 '23 00:09 appleboy

First of all, thank you for this Github Action.

I'm still having this issue, any news?

dimzeta avatar Dec 07 '23 15:12 dimzeta