-
I want to exclude the |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
You can limit your workflow runs to specific activity types using the types keyword.
With this configuration, the workflow will be triggered only when you set the release as a pre-release. |
Beta Was this translation helpful? Give feedback.
-
I already have |
Beta Was this translation helpful? Give feedback.
-
No, created does not includes prereleases. You may have some misunderstandings here. When you click the “Draft a new release” button to create a new release and publish it as a pre-release, actually this operation includes two activity types of release event.
When you click the “Draft a new release” button, then select the “This is a pre-release” option, and click the “Publish release” button:
More details, you can reference to this example. |
Beta Was this translation helpful? Give feedback.
@exorift,
No, created does not includes prereleases. You may have some misunderstandings here.
When you click the “Draft a new release” button to create a new release and publish it as a pre-release, actually this operation includes two activity types of release event.
created - - A new release is created and saved. This activity will be triggered after you click the “Draft a new release” button and the “Publish release” button.
prereleases - - A release is set as a pre-release and saved. This activity will be triggered after you select the “This is a pre-release” option and click the “Publish release” (or “Update re…