From b0e4a8fe85a39cc90eb61037d35192edee73dd42 Mon Sep 17 00:00:00 2001 From: Jeff Billimek Date: Mon, 27 May 2019 08:23:32 -0400 Subject: [PATCH] filter PRs on action 'opened|synchronize' --- .github/main.workflow | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/main.workflow b/.github/main.workflow index 0b108753..71d22e01 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -24,9 +24,9 @@ action "Package Helm Chart(s)" { needs = ["Filter: not deleted"] } -action "Filter: not deleted PR" { +action "Filter: action 'opened|synchronize'" { uses = "actions/bin/filter@master" - args = "not deleted" + args = "action 'opened|synchronize'" secrets = ["GITHUB_TOKEN"] needs = ["Filter: not master branch"] } @@ -35,10 +35,9 @@ action "Lint changed chart(s) in pull request" { uses = "billimek/gh-actions/helm-gh-pages@master" args = "https://billimek.com/billimek-charts/" secrets = ["GITHUB_TOKEN"] - needs = ["Filter: not deleted PR"] + needs = ["Filter: action 'opened|synchronize'"] } - action "Filter: master branch" { uses = "actions/bin/filter@master" args = "branch master"