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'" -}