workflow "Lint & Publish Helm chart" {
  resolves = [
    "Package Helm Chart(s)",
  ]
  on = "push"
}

action "Package Helm Chart(s)" {
  uses = "billimek/gh-actions/helm-gh-pages@master"
  args = "[\"https://billimek.com/billimek-charts/\"]"
  secrets = ["GITHUB_TOKEN"]
}

workflow "Pull Request" {
  on = "pull_request"
  resolves = ["Pull Request Linting"]
}

action "Pull Request Linting" {
  uses = "billimek/gh-actions/helm-gh-pages@master"
  args = "\"https://billimek.com/billimek-charts/\""
  secrets = ["GITHUB_TOKEN"]
}