mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 15:39:02 +00:00
add additional refs/head/master filter for pushes
This commit is contained in:
parent
84dcf9011f
commit
c18e9e0944
18
.github/main.workflow
vendored
18
.github/main.workflow
vendored
@ -1,31 +1,30 @@
|
||||
workflow "Lint & Publish Helm chart" {
|
||||
resolves = [
|
||||
"Package Helm Chart(s)",
|
||||
"Push on refs/heads/master ?",
|
||||
]
|
||||
on = "push"
|
||||
}
|
||||
|
||||
workflow "Pull Requests" {
|
||||
resolves = [
|
||||
"Pull Request Linting",
|
||||
]
|
||||
on = "pull_request"
|
||||
resolves = ["Lint changed chart(s) in pull request"]
|
||||
}
|
||||
|
||||
action "Package Helm Chart(s)" {
|
||||
uses = "billimek/gh-actions/helm-gh-pages@master"
|
||||
args = "https://billimek.com/billimek-charts/"
|
||||
secrets = ["GITHUB_TOKEN"]
|
||||
needs = ["Filter for master"]
|
||||
needs = ["Push on refs/heads/master ?"]
|
||||
}
|
||||
|
||||
action "Pull Request Linting" {
|
||||
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"]
|
||||
}
|
||||
|
||||
action "Filter for master" {
|
||||
action "Push on the master branch?" {
|
||||
uses = "actions/bin/filter@master"
|
||||
args = "branch master"
|
||||
secrets = ["GITHUB_TOKEN"]
|
||||
@ -36,3 +35,10 @@ action "Filter for not master" {
|
||||
args = "not branch master"
|
||||
secrets = ["GITHUB_TOKEN"]
|
||||
}
|
||||
|
||||
action "Push on refs/heads/master ?" {
|
||||
uses = "actions/bin/filter@3c0b4f0e63ea54ea5df2914b4fabf383368cd0da"
|
||||
args = "ref refs/heads/master"
|
||||
secrets = ["GITHUB_TOKEN"]
|
||||
needs = ["Push on the master branch?"]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user