From 4c4606801d00f507f7c270e7105c3bd8ebd93842 Mon Sep 17 00:00:00 2001 From: Luni-4 Date: Tue, 7 Apr 2020 18:41:19 +0200 Subject: [PATCH] Do not run CI on PR closure (#147) --- .taskcluster.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.taskcluster.yml b/.taskcluster.yml index 3457ef9c2..473aab696 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -26,7 +26,7 @@ tasks: then: ${event.pull_request.head.repo.html_url} else: ${event.repository.html_url} in: - $if: 'tasks_for in ["github-pull-request", "github-push"]' + $if: 'tasks_for == "github-push" || (tasks_for == "github-pull-request" && event["action"] in ["opened", "reopened", "synchronize"])' then: - taskId: {$eval: as_slugid("lint_test_task")} created: {$fromNow: ''}