The template provides ocamllsp
, utop
and ocamlformat
by default.
The dependencies of the project should be written in a opam file.
The action creates a PR to opam-repository using dune-release
.
See release.yml.
-
Rewrite environment variables in release.yml
-
Set workflow permission
GitHub repo -> Workflow permissions -> Check "Read and write permissions"
-
Create GitHub token
It is needed to push opam-repository of your GitHub account more than the permission of
secrets.GITHUB_TOKEN
. -
Set the token to the environment variable
release.yml requires
secrets.GH_TOKEN
by default. -
Create
CHANGELOG
file or addchangelog
field in a opam file