filter PRs on action 'opened|synchronize'

This commit is contained in:
Jeff Billimek 2019-05-27 08:23:32 -04:00 committed by GitHub
parent fce9902416
commit b0e4a8fe85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,9 +24,9 @@ action "Package Helm Chart(s)" {
needs = ["Filter: not deleted"] needs = ["Filter: not deleted"]
} }
action "Filter: not deleted PR" { action "Filter: action 'opened|synchronize'" {
uses = "actions/bin/filter@master" uses = "actions/bin/filter@master"
args = "not deleted" args = "action 'opened|synchronize'"
secrets = ["GITHUB_TOKEN"] secrets = ["GITHUB_TOKEN"]
needs = ["Filter: not master branch"] 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" uses = "billimek/gh-actions/helm-gh-pages@master"
args = "https://billimek.com/billimek-charts/" args = "https://billimek.com/billimek-charts/"
secrets = ["GITHUB_TOKEN"] secrets = ["GITHUB_TOKEN"]
needs = ["Filter: not deleted PR"] needs = ["Filter: action 'opened|synchronize'"]
} }
action "Filter: master branch" { action "Filter: master branch" {
uses = "actions/bin/filter@master" uses = "actions/bin/filter@master"
args = "branch master" args = "branch master"