Update main.workflow

commenting all github actions workflows

for migration to circleCI
This commit is contained in:
Jeff Billimek 2019-08-04 20:33:03 -04:00 committed by GitHub
parent 627754823c
commit f5698b87a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

124
.github/main.workflow vendored
View File

@ -1,71 +1,71 @@
workflow "Publish Helm chart(s)" { # workflow "Publish Helm chart(s)" {
resolves = [ # resolves = [
"Package Helm Chart(s)", # "Package Helm Chart(s)",
"Filter: not deleted", # "Filter: not deleted",
] # ]
on = "push" # on = "push"
} # }
workflow "Pull Requests" { # workflow "Pull Requests" {
on = "pull_request" # on = "pull_request"
resolves = [ # resolves = [
"Lint changed chart(s) in pull request", # "Lint changed chart(s) in pull request",
] # ]
} # }
action "Package Helm Chart(s)" { # action "Package Helm Chart(s)" {
uses = "billimek/gh-actions/helm-gh-pages@master" # uses = "billimek/gh-actions/helm-gh-pages@master"
args = "https://billimek.com/billimek-charts/" # args = "https://billimek.com/billimek-charts/"
secrets = [ # secrets = [
"GITHUB_TOKEN", # "GITHUB_TOKEN",
"COMMIT_EMAIL", # "COMMIT_EMAIL",
"ACCESS_TOKEN", # "ACCESS_TOKEN",
] # ]
needs = ["Filter: not deleted"] # needs = ["Filter: not deleted"]
env = { # env = {
SKIP_LINTING = "true" # SKIP_LINTING = "true"
} # }
} # }
action "Filter: action 'opened|synchronize'" { # action "Filter: action 'opened|synchronize'" {
uses = "actions/bin/filter@master" # uses = "actions/bin/filter@master"
args = "action 'opened|synchronize'" # args = "action 'opened|synchronize'"
secrets = ["GITHUB_TOKEN"] # secrets = ["GITHUB_TOKEN"]
needs = ["Filter: not master branch"] # needs = ["Filter: not master branch"]
} # }
action "Lint changed chart(s) in pull request" { # action "Lint changed chart(s) in pull request" {
uses = "billimek/gh-actions/helm-gh-pages@master" # uses = "billimek/gh-actions/helm-gh-pages@master"
args = "https://billimek.com/billimek-charts/" # args = "https://billimek.com/billimek-charts/"
secrets = ["GITHUB_TOKEN"] # secrets = ["GITHUB_TOKEN"]
needs = ["Filter: action 'opened|synchronize'"] # needs = ["Filter: action 'opened|synchronize'"]
} # }
action "Filter: master branch" { # action "Filter: master branch" {
uses = "actions/bin/filter@master" # uses = "actions/bin/filter@master"
args = "branch master" # args = "branch master"
secrets = ["GITHUB_TOKEN"] # secrets = ["GITHUB_TOKEN"]
} # }
action "Filter: not deleted" { # action "Filter: not deleted" {
uses = "actions/bin/filter@master" # uses = "actions/bin/filter@master"
args = "not deleted" # args = "not deleted"
secrets = ["GITHUB_TOKEN"] # secrets = ["GITHUB_TOKEN"]
needs = ["Filter: master branch"] # needs = ["Filter: master branch"]
} # }
action "Filter: not master branch" { # action "Filter: not master branch" {
uses = "actions/bin/filter@master" # uses = "actions/bin/filter@master"
args = "not branch master" # args = "not branch master"
secrets = ["GITHUB_TOKEN"] # secrets = ["GITHUB_TOKEN"]
} # }
workflow "on pull request merge, delete the branch" { # workflow "on pull request merge, delete the branch" {
on = "pull_request" # resolves = ["branch cleanup"]
resolves = ["branch cleanup"] # on = "pull_request"
} # }
action "branch cleanup" { # action "branch cleanup" {
uses = "jessfraz/branch-cleanup-action@master" # uses = "jessfraz/branch-cleanup-action@master"
secrets = ["GITHUB_TOKEN"] # secrets = ["GITHUB_TOKEN"]
} # }