Skip to content

synchronal/medic-ext-git

Repository files navigation

Medic Git

An extension pack for using medic with git.

Installation

brew tap synchronal/tap
brew install medic-ext-git

Example Brewfile:

tap 'synchronal/tap'

brew  'synchronal/tap/medic'
brew  'synchronal/tap/medic-ext-git'

Usage

[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 },
]

medic-stp-git

Steps for interacting with git.

pull

Pull the current repository with --rebase.

medic-step-git pull

push

Push the current repository to origin.

medic-step-git push

medic-step-github

Steps for helping with repositories that are hosted in GitHub.

link-to-actions

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>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published