A shared template of the .github/
dir
This dir contains shared github workflows script and can be shared by each github repo.
- Add
./bin
to your$PATH
, so that commandgh-dir-co
can be used everywhere.
-
Update this repo with
git pull
etc. -
Go to the
.github
dir of another repo, such ascd my/repo/.github/workflows
.Running this script outside a
.github
dir results in an error. -
Run
gh-dir-co <fn>
to copyworkflows/<fn>
in this repo tomy/repo/.github/workflows
.