SethCohen / github-releases-to-discord

Posts a GitHub Release changelog to a specified Discord channel
MIT License
15 stars 7 forks source link

Won't trigger #22

Closed sushiat closed 9 months ago

sushiat commented 10 months ago

Hi, I want to add this to our project and followed the instructions, seemed easy enough. But when creating a release the action simply doesn't trigger. Any experience with that? Does it matter if I had created the version tag previously and the release then with the existing tag? Or do I have to create the tag while creating the release?

I also tried switching the trigger to [created] instead of [published] but no change

craigrileyuk commented 3 months ago

If anyone else finds this, note that if your release was published via using secrets.GITHUB_TOKEN in another workflow, it won't trigger any other workflows. An example might be using the "softprops/action-gh-release" action to create a release and then this action in another workflow to send a message on release.

See https://stackoverflow.com/questions/69063452/github-actions-on-release-created-workflow-trigger-not-working for potential solutions.