From 94b678c949e820f5e24af384840391aba5ac416d Mon Sep 17 00:00:00 2001 From: Daniel Tschinder Date: Sat, 20 Jul 2019 15:22:21 +0200 Subject: [PATCH] Fix workflow --- .github/main.workflow | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/main.workflow b/.github/main.workflow index 14c73dc4e4..6a5626e60d 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -26,8 +26,7 @@ action "Trigger GitHub release" { workflow "Issues" { resolves = [ "Create Welcome Comment", - "Create Needs Info Comment", - "Has label 'Needs Info'", + "Create Needs Info Comment" ] on = "issues" } @@ -48,6 +47,11 @@ action "Is action 'labeled'" { args = "action labeled" } +action "Has label 'Needs Info'" { + uses = "actions/bin/filter@master" + args = "label 'Needs Info'" +} + action "Create Needs Info Comment" { uses = "babel/actions/create-needs-info-comment@master" needs = [ @@ -56,8 +60,3 @@ action "Create Needs Info Comment" { ] secrets = ["BOT_TOKEN", "GITHUB_TOKEN"] } - -action "Has label 'Needs Info'" { - uses = "actions/bin/filter@master" - args = "label 'Needs Info'" -}