-
I’m working I’ve already tried https://github.com/vadi2/ClinicArrivals/blob/patch-1/.github/workflows/publish-release.yml is my workflow and https://github.com/vadi2/ClinicArrivals/actions?query=workflow%3A.github%2Fworkflows%2Fpublish-release.yml shows it stopped running as soon as I switched it to How can I get the release event to fire in my fork? I’d like to ensure the workflow is correct before PRing it to the main repository. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
No release events are running in the branch of a main repo either, and I’m creating releases manually. |
Beta Was this translation helpful? Give feedback.
-
@vadi2 , Sure, release event is also supported on forked repositories. I checked the workflows in your forked repository, I think the problem you are facing is same as that in this ticket. As I mentioned in that ticket, you need to pay attention to the following points: 1) After you have created a new workflow, this workflow will not be listed on " Actions" tab until it is triggered for the first time. You also can follow my suggestions mentioned in that ticket to solve the problem:
|
Beta Was this translation helpful? Give feedback.
@vadi2 ,
Sure, release event is also supported on forked repositories.
I checked the workflows in your forked repository, I think the problem you are facing is same as that in this ticket.
As I mentioned in that ticket, you need to pay attention to the following points:
1) After you have created a new workflow, this workflow will not be listed on " Actions" tab until it is triggered for the first time.
2) The GITHUB_REF of the release event is a tag ref, and Github will only reference the workflow YAML files on this tag ref, and the tag ref is created from the specified branch (master in your cases).
3) You can’t use the event occurs on a branch/tag ref to trigger the workflows located on…