-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature (Technical Story): Automate the update of index.md #490
Closed
erikmd opened this issue
Jun 2, 2022
· 0 comments
· Fixed by #492, #486 or ocaml/opam-repository#22877
Closed
Feature (Technical Story): Automate the update of index.md #490
erikmd opened this issue
Jun 2, 2022
· 0 comments
· Fixed by #492, #486 or ocaml/opam-repository#22877
Comments
cesclass
added a commit
to pfitaxel/learn-ocaml
that referenced
this issue
Jun 27, 2022
cesclass
added a commit
to pfitaxel/learn-ocaml
that referenced
this issue
Jun 27, 2022
* The workflow check out the repo and execute update-index.sh. Then it check the diffs using git diff on index.md. Related: ocaml-sf#490
cesclass
added a commit
to pfitaxel/learn-ocaml
that referenced
this issue
Jun 27, 2022
cesclass
added a commit
to pfitaxel/learn-ocaml
that referenced
this issue
Jun 27, 2022
* The workflow check out the repo and execute update-index.sh. Then it check the diffs using git diff on index.md. Related: ocaml-sf#490
cesclass
added a commit
to pfitaxel/learn-ocaml
that referenced
this issue
Jun 30, 2022
Related: ocaml-sf#490 Co-authored-by: Erik Martin-Dorel <erik@martin-dorel.org>
cesclass
added a commit
to pfitaxel/learn-ocaml
that referenced
this issue
Jun 30, 2022
* The workflow check out the repo and execute update-index.sh. Then it check the diffs using git diff on index.md. Related: ocaml-sf#490 Co-authored-by: Erik Martin-Dorel <erik@martin-dorel.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related project scope(s): GHA
Related user(s):
The problem
The
README.md
anddocs/index.md
can typically be out-of-sync.Wanted solution
We should automate the update of
docs/index.md
:#!/usr/bin/env bash
) namedscripts/update-index.sh
that usessed
etc. to automatically overwritedocs/index.md
fromREADME.md
.github/workflows/check-update-index.yml
for each pull request or for master:scripts/update-index.sh
git diff
detects thatdocs/index.md
should have been modified (committed)scripts/update-index.sh
and commit"…The text was updated successfully, but these errors were encountered: