From 64228b418fc08c558f4701911f4a76b0afe209d5 Mon Sep 17 00:00:00 2001 From: Jeff Billimek Date: Sun, 26 May 2019 21:39:41 -0400 Subject: [PATCH] add additional PR filter --- .github/main.workflow | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/main.workflow b/.github/main.workflow index a20e1d09..05ee1396 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -23,7 +23,7 @@ action "Pull Request Linting" { uses = "billimek/gh-actions/helm-gh-pages@master" args = "https://billimek.com/billimek-charts/" secrets = ["GITHUB_TOKEN"] - needs = ["Filter for not master"] + needs = ["Is this a PR"] } action "Filter for master" { @@ -37,3 +37,10 @@ action "Filter for not master" { args = "not branch master" secrets = ["GITHUB_TOKEN"] } + +action "Is this a PR" { + uses = "actions/bin/filter@master" + needs = ["Filter for not master"] + args = "action 'opened|synchronize|reopened'" + secrets = ["GITHUB_TOKEN"] +}