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

Add discord notifications for voting #49

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

codello
Copy link
Contributor

@codello codello commented Feb 25, 2024

What does this PR do?

This PR adds a GitHub Workflow that sends notifications via a Discord Webhook when the "vote now" label is added or removed to/from issues or PRs. The following screenshot shows how these notifications can look on Discord (The screenshot shows data from a testing repo).

notifications

Motivation

I brought up the idea of automatic notifications in the discord and there seemed to be some interest in a feature like this.

More

In order for this to work two additional steps are required:

  • A discord admin must register a webhook for the #song-format channel on Discord @bohning
  • An admin of this repo must add the webhook URL as a CI secret with the name DISCORD_WEBHOOK. I don't currently know who that would be.

@bohning
Copy link
Collaborator

bohning commented Feb 25, 2024

I added both the webhook on Discord and the DISCORD_WEBHOOK secret to the repository secrets.

@Baklap4
Copy link
Collaborator

Baklap4 commented Mar 29, 2024

Updating the branch and going to merge it, thanks guys!

Notifications will be sent when the "vote now" label is added or removed.
@Baklap4 Baklap4 merged commit 82ad9ec into UltraStar-Deluxe:main Mar 29, 2024
1 check passed
@basisbit
Copy link
Member

In which Discord server is this channel?

@codello
Copy link
Contributor Author

codello commented Apr 13, 2024

@basisbit Sorry for the late reply. It should be the #song-format channel in the UltraStar* Creators Community Discord

@codello codello deleted the vote-notifications branch May 3, 2024 10:06
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

Successfully merging this pull request may close these issues.

4 participants