-
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: 10 comments 12 replies
-
Make sure the workflow file is in the .github/workflows/ directory, verify the workflow syntax, check you're publishing a release (not just creating a tag). Does the "Actions" tab show any logs or errors? Also confirm that GitHub Actions is enabled, and check the workflow file's extension (e.g., .yml). |
Beta Was this translation helpful? Give feedback.
-
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.
I ended up copying a friend's config, and I think the change that fixed it was making sure to use an array: