Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default message does not send anything #7

Open
T04435 opened this issue Jul 29, 2022 · 3 comments
Open

Default message does not send anything #7

T04435 opened this issue Jul 29, 2022 · 3 comments

Comments

@T04435
Copy link

T04435 commented Jul 29, 2022

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.

@Krutoy242
Copy link

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

@appleboy
Copy link
Owner

@Krutoy242 @T04435 I will take it.

@dimzeta
Copy link

dimzeta commented Dec 7, 2023

First of all, thank you for this Github Action.

I'm still having this issue, any news?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants