appleboy / discord-action

GitHub Action that sends a Discord message.
https://github.com/marketplace/actions/discord-message-notify
101 stars 11 forks source link

Default message does not send anything #7

Open T04435 opened 2 years ago

T04435 commented 2 years ago

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:

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.

Krutoy242 commented 1 year ago

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

appleboy commented 1 year ago

@Krutoy242 @T04435 I will take it.

dimzeta commented 11 months ago

First of all, thank you for this Github Action.

I'm still having this issue, any news?