Skip to content

Instantly share code, notes, and snippets.

@bltavares
Created April 12, 2019 13:27
Show Gist options
  • Save bltavares/d2eb4b9bca7869b0bd12e36337859885 to your computer and use it in GitHub Desktop.
Save bltavares/d2eb4b9bca7869b0bd12e36337859885 to your computer and use it in GitHub Desktop.
workflow "automated on PRs" {
on = "push"
resolves = ["cljfmt"]
}
action "cljfmt" {
uses = "bltavares/actions/[email protected]"
args = ["autofix"]
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"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment