charts/.github/main.workflow

41 lines
893 B
Plaintext
Raw Normal View History

2019-05-15 20:28:32 +00:00
workflow "Lint & Publish Helm chart" {
resolves = [
"Package Helm Chart(s)",
"Filter for non-merged PRs",
]
2019-05-15 20:28:32 +00:00
on = "push"
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-16 00:08:56 +00:00
secrets = ["GITHUB_TOKEN"]
needs = ["Filter for non-merged PRs"]
2019-05-16 00:07:40 +00:00
}
workflow "Pull Request" {
on = "pull_request"
2019-05-16 02:00:20 +00:00
resolves = [
"Pull Request Linting",
]
2019-05-16 00:07:40 +00:00
}
2019-05-16 00:31:23 +00:00
action "Pull Request Linting" {
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-15 14:31:33 +00:00
}
2019-05-16 02:00:20 +00:00
action "Filter for master" {
2019-05-16 02:00:20 +00:00
uses = "actions/bin/filter@master"
args = "branch master"
secrets = ["GITHUB_TOKEN"]
}
action "Filter for non-merged PRs" {
uses = "actions/bin/filter@master"
needs = ["Filter for master"]
args = "not merged true"
secrets = ["GITHUB_TOKEN"]
}