Skip to content

Commit

Permalink
ci(workflow): remove notify-workflow job (no longer needed)
Browse files Browse the repository at this point in the history
We will now use GitHub Discussions as the sole channel for
release notifications and forward these to Discord if needed.
  • Loading branch information
ccamel committed Oct 15, 2024
1 parent be8b0f4 commit 2a0f487
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/notify-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,6 @@ on:
types: [published]

jobs:
notify-discord:
runs-on: ubuntu-22.04
steps:
- name: Notify Discord
uses: fjogeleit/http-request-action@v1
with:
url: ${{ secrets.DISCORD_WEBHOOK }}
method: "POST"
customHeaders: '{"Content-Type": "application/json"}'
data: |-
{
"avatar_url": "https://avatars.githubusercontent.com/u/98603954?v=4",
"username": "Bot Anik",
"content": "🚨 A new version of @${{ github.repository }} ${{ github.event.release.tag_name }} has been released! 🎉\n\n👉 Changelog: https://github.com/${{ github.repository }}/releases/tag/${{ github.event.release.tag_name }}\n👉 Official repo: https://github.com/${{ github.repository }}"
}
notify-github-discussion:
runs-on: ubuntu-22.04
steps:
Expand Down

0 comments on commit 2a0f487

Please sign in to comment.