2019-05-15 20:28:32 +00:00
|
|
|
workflow "Lint & Publish Helm chart" {
|
2019-05-15 15:49:15 +00:00
|
|
|
resolves = [
|
|
|
|
"Package Helm Chart(s)",
|
2019-05-27 02:22:20 +00:00
|
|
|
"Not a deleted event",
|
2019-05-26 21:49:44 +00:00
|
|
|
]
|
|
|
|
on = "push"
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow "Pull Requests" {
|
2019-05-27 01:48:06 +00:00
|
|
|
on = "pull_request"
|
2019-05-27 02:47:14 +00:00
|
|
|
resolves = [
|
|
|
|
"Lint changed chart(s) in pull request",
|
|
|
|
"Branch Cleanup",
|
|
|
|
]
|
2019-05-15 14:31:33 +00:00
|
|
|
}
|
2019-05-15 14:56:56 +00:00
|
|
|
|
2019-05-15 15:49:15 +00:00
|
|
|
action "Package Helm Chart(s)" {
|
2019-05-15 14:56:56 +00:00
|
|
|
uses = "billimek/gh-actions/helm-gh-pages@master"
|
2019-05-16 02:55:47 +00:00
|
|
|
args = "https://billimek.com/billimek-charts/"
|
2019-05-16 00:08:56 +00:00
|
|
|
secrets = ["GITHUB_TOKEN"]
|
2019-05-27 02:22:20 +00:00
|
|
|
needs = ["Not a deleted event"]
|
2019-05-16 00:07:40 +00:00
|
|
|
}
|
|
|
|
|
2019-05-27 02:06:16 +00:00
|
|
|
action "Lint changed chart(s) in pull request" {
|
2019-05-16 00:07:40 +00:00
|
|
|
uses = "billimek/gh-actions/helm-gh-pages@master"
|
2019-05-16 02:55:47 +00:00
|
|
|
args = "https://billimek.com/billimek-charts/"
|
2019-05-16 00:08:56 +00:00
|
|
|
secrets = ["GITHUB_TOKEN"]
|
2019-05-27 02:47:14 +00:00
|
|
|
needs = ["Not on master branch ?"]
|
2019-05-15 14:31:33 +00:00
|
|
|
}
|
2019-05-16 02:00:20 +00:00
|
|
|
|
2019-05-27 02:06:16 +00:00
|
|
|
action "Push on the master branch?" {
|
2019-05-16 02:00:20 +00:00
|
|
|
uses = "actions/bin/filter@master"
|
|
|
|
args = "branch master"
|
|
|
|
secrets = ["GITHUB_TOKEN"]
|
|
|
|
}
|
2019-05-26 20:33:17 +00:00
|
|
|
|
2019-05-27 02:22:20 +00:00
|
|
|
action "Not a deleted event" {
|
2019-05-27 02:06:16 +00:00
|
|
|
uses = "actions/bin/filter@3c0b4f0e63ea54ea5df2914b4fabf383368cd0da"
|
2019-05-27 02:22:20 +00:00
|
|
|
args = "not deleted"
|
2019-05-27 02:06:16 +00:00
|
|
|
secrets = ["GITHUB_TOKEN"]
|
|
|
|
needs = ["Push on the master branch?"]
|
|
|
|
}
|
2019-05-27 02:47:14 +00:00
|
|
|
|
|
|
|
action "Branch Cleanup" {
|
|
|
|
uses = "jessfraz/branch-cleanup-action@master"
|
|
|
|
secrets = ["GITHUB_TOKEN"]
|
2019-05-27 02:50:05 +00:00
|
|
|
env = {
|
|
|
|
NO_BRANCH_DELETED_EXIT_CODE = "0"
|
|
|
|
}
|
2019-05-27 02:47:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
action "Not on master branch ?" {
|
|
|
|
uses = "actions/bin/filter@3c0b4f0e63ea54ea5df2914b4fabf383368cd0da"
|
|
|
|
args = "not branch master"
|
|
|
|
secrets = ["GITHUB_TOKEN"]
|
|
|
|
}
|