Filter github release events for "publishes" (#5719)
parent
07721d4a5e
commit
47f952a2a2
|
@ -83,8 +83,12 @@ tasks:
|
|||
else:
|
||||
$if: 'tasks_for == "cron"'
|
||||
then: '${ownTaskId}'
|
||||
releaseAction:
|
||||
$if: 'tasks_for == "github-release"'
|
||||
then: ${event.action}
|
||||
else: 'UNDEFINED'
|
||||
in:
|
||||
$if: 'tasks_for in ["github-pull-request", "github-release", "action", "cron"] || tasks_for == "github-push" && head_branch[:10] != "refs/tags/"'
|
||||
$if: 'tasks_for in ["github-pull-request", "action", "cron"] || (tasks_for == "github-push" && head_branch[:10] != "refs/tags/") || (tasks_for == "github-release" && releaseAction == "published")'
|
||||
then:
|
||||
$let:
|
||||
level:
|
||||
|
|
Loading…
Reference in New Issue