From 7253d71265ac1ceb99964a023207bc237ed64948 Mon Sep 17 00:00:00 2001 From: Jeff Billimek Date: Sun, 26 May 2019 22:22:20 -0400 Subject: [PATCH] add a 'not deleted' filter check --- .github/main.workflow | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/main.workflow b/.github/main.workflow index 5464b443..ff00daa3 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -1,7 +1,7 @@ workflow "Lint & Publish Helm chart" { resolves = [ "Package Helm Chart(s)", - "Push on refs/heads/master ?", + "Not a deleted event", ] on = "push" } @@ -15,7 +15,7 @@ action "Package Helm Chart(s)" { uses = "billimek/gh-actions/helm-gh-pages@master" args = "https://billimek.com/billimek-charts/" secrets = ["GITHUB_TOKEN"] - needs = ["Push on refs/heads/master ?"] + needs = ["Not a deleted event"] } action "Lint changed chart(s) in pull request" { @@ -36,9 +36,9 @@ action "Filter for not master" { secrets = ["GITHUB_TOKEN"] } -action "Push on refs/heads/master ?" { +action "Not a deleted event" { uses = "actions/bin/filter@3c0b4f0e63ea54ea5df2914b4fabf383368cd0da" - args = "ref refs/heads/master" + args = "not deleted" secrets = ["GITHUB_TOKEN"] needs = ["Push on the master branch?"] }