charts/.github/main.workflow

70 lines
1.5 KiB
Plaintext
Raw Normal View History

2019-05-15 20:28:32 +00:00
workflow "Lint & Publish Helm chart" {
resolves = [
"Package Helm Chart(s)",
2019-05-27 04:47:14 +00:00
"Filter: not deleted",
2019-05-26 21:49:44 +00:00
]
on = "push"
}
workflow "Pull Requests" {
on = "pull_request"
resolves = [
"Lint changed chart(s) in pull request",
]
2019-05-15 14:31:33 +00:00
}
2019-05-15 14:56:56 +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-27 03:43:05 +00:00
secrets = [
"GITHUB_TOKEN",
"COMMIT_EMAIL",
"ACCESS_TOKEN",
2019-05-27 03:43:05 +00:00
]
2019-05-27 04:47:14 +00:00
needs = ["Filter: not deleted"]
2019-05-16 00:07:40 +00:00
}
2019-05-27 05:47:24 +00:00
action "Filter: not deleted PR" {
uses = "actions/bin/filter@master"
args = "not deleted"
secrets = ["GITHUB_TOKEN"]
needs = ["Filter: not master branch"]
}
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 05:47:24 +00:00
needs = ["Filter: not deleted PR"]
2019-05-15 14:31:33 +00:00
}
2019-05-16 02:00:20 +00:00
2019-05-27 05:47:24 +00:00
2019-05-27 04:47:14 +00:00
action "Filter: master branch" {
2019-05-16 02:00:20 +00:00
uses = "actions/bin/filter@master"
args = "branch master"
secrets = ["GITHUB_TOKEN"]
}
2019-05-27 04:47:14 +00:00
action "Filter: not deleted" {
2019-05-27 05:47:24 +00:00
uses = "actions/bin/filter@master"
2019-05-27 02:22:20 +00:00
args = "not deleted"
secrets = ["GITHUB_TOKEN"]
2019-05-27 04:47:14 +00:00
needs = ["Filter: master branch"]
}
2019-05-27 04:47:14 +00:00
action "Filter: not master branch" {
2019-05-27 05:47:24 +00:00
uses = "actions/bin/filter@master"
args = "not branch master"
secrets = ["GITHUB_TOKEN"]
}
workflow "on pull request merge, delete the branch" {
on = "pull_request"
resolves = ["branch cleanup"]
}
action "branch cleanup" {
uses = "jessfraz/branch-cleanup-action@master"
secrets = ["GITHUB_TOKEN"]
}