I labelled my release as "pre-release" and the action didn't run. #47
-
Does it only run when the release is not labelled "pre-release"? |
Beta Was this translation helpful? Give feedback.
Answered by
stefanzweifel
Dec 1, 2024
Replies: 1 comment
-
Hey @danielh-official, I guess your workflow looks like this? name: "Update Changelog"
on:
release:
types: [released] If yes, the workflow is only run for released released. If the workflow should run in both cases, you can add the name: "Update Changelog"
on:
release:
types: [released, prereleased] See the GitHub Action trigger docs for details: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#release |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
danielh-official
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @danielh-official,
I guess your workflow looks like this?
If yes, the workflow is only run for released released. If the workflow should run in both cases, you can add the
prereleased
-activity type.See the GitHub Action trigger docs for details: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#release