Commit 47f952a2 authored by Mitchell Hentges's avatar Mitchell Hentges Committed by Sawyer Blatz
Browse files

Filter github release events for "publishes" (#5719)

parent 07721d4a
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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: