-
Select Topic AreaQuestion BodySo I have this github workflow setup: This is designed to run this gradle task when a release is created on github, however, after drafting a release with a tag and publishing it, the action does not run. |
Beta Was this translation helpful? Give feedback.
Replies: 15 comments 21 replies
-
Beta Was this translation helpful? Give feedback.
-
|
bump |
Beta Was this translation helpful? Give feedback.
-
|
had the same issue. Defining the branch seems to work, So the Jobs triggers when creating and publishing a release on that branch. `name: Release 😎 on: |
Beta Was this translation helpful? Give feedback.
-
|
I have the same issue. Does anyone have a solution? |
Beta Was this translation helpful? Give feedback.
-
|
Response #3 |
Beta Was this translation helpful? Give feedback.
-
|
I had a similar issue and finally noticed that I was trying to publish the repository with a tag at which the workflow |
Beta Was this translation helpful? Give feedback.
-
|
Still, I have the same issue ..! |
Beta Was this translation helpful? Give feedback.
-
|
this thread has the answer for my case: https://github.com/orgs/community/discussions/25281 I was using the built-in To solve this, create a PAT with enough permission to publish the release as yourself, this way other workflows based on Release event can be triggered |
Beta Was this translation helpful? Give feedback.
-
|
I encountered the same issue, and it turns out I use wrong directory name ('workflow' instead of 'workflows'). |
Beta Was this translation helpful? Give feedback.
-
Is your release created by an other workflow?If the answer is yes, then it is normal to see your workflow not beeing triggered. |
Beta Was this translation helpful? Give feedback.
-
|
Same issue for me, none of the suggestions worked. |
Beta Was this translation helpful? Give feedback.
-
|
I've also observed this issue with a trigger on release "create". However I've also seen it fire a few times, and nothing has changed in the workflow config or release process creation between a successful trigger and none at all. |
Beta Was this translation helpful? Give feedback.
-
|
Actually, I think it's because of the assets. In my experience, when I publish a release without assets, it works fine, but when I include assets during the initial publish, it doesn't. Try publishing the release first, then add the assets by editing it afterward |
Beta Was this translation helpful? Give feedback.
-
permissions:
|
Beta Was this translation helpful? Give feedback.
-
|
The intention is for this workflow to run whenever I create and publish a GitHub release. I draft a release, attach the tag, publish it… but the workflow never triggers. The workflow itself appears valid — I have a nearly identical one that runs on every commit and publishes to a nightly channel, and that one works fine. So I'm guessing I’m either:
|
Beta Was this translation helpful? Give feedback.



I ended up copying a friend's config, and I think the change that fixed it was making sure to use an array: