An extension pack for using medic with git.
brew tap synchronal/tap
brew install medic-ext-gitExample Brewfile:
tap 'synchronal/tap'
brew 'synchronal/tap/medic'
brew 'synchronal/tap/medic-ext-git'[doctor]
checks = []
[test]
checks = []
[audit]
checks = []
[update]
steps = [
{ step = "git", command = "pull" },
]
[shipit]
steps = [
{ audit = {} },
{ update = {} },
{ test = {} },
{ step = "git", command = "push" },
{ step = "github", command = "link-to-actions", verbose = true },
]Steps for interacting with git.
Pull the current repository with --rebase.
medic-step-git pullPush the current repository to origin.
medic-step-git pushSteps for helping with repositories that are hosted in GitHub.
Using the git remote configured for --remote, print out the URL for
its GitHub Actions. Defaults to origin.
medic-step-github link-to-actions
medic-step-github link-to-actions --remote <remote>