After review of a protocol-branch and before each release the following steps will be run automatically and may require action:
-
A GitHub Action will run when a pull request to the main branch is made or updated.
-
This action will update the version number if needed and automatically run these checks:
-
protocolhelper::check_frontmatter()
-
protocolhelper::check_structure()
-
-
This action will also automatically update:
-
the repo-wide
NEWS.md
file withprotocolhelper:::update_news_release()
-
the
.zenodo.json
file withprotocolhelper:::update_zenodo()
-
Check any error messages resulting from these checks and address them. Repeat this step until all checks succeed. In principle, these errors should be addressed by the protocol contributor, but admins can help if needed. Note that during this automatic run, commits to update the version number, the repo-wide
NEWS.md
and the.zenodo.json
will be automatically pushed to the remote. So pull these commits to get them in your local repo. -
-
A second GitHub Action will be run upon a push to the main branch to update the
protocols
website. I.e. when the pull request is merged into the main branch.-
This will automatically trigger the following:
-
the general and protocol-specific tags (see release model) will be created and added to that merge commit. This will be done by
protocolhelper:::set_tags()
-
general tag:
protocols-<version number>
-
specific tag:
<protocol-code>-<version number>
-
-
render the new or updated protocol and commit/push this to the
protocols
repo (which contains the rendered protocols that are needed to build the website). The rendering is done byprotocolhelper:::render_release()
. The same general and protocol-specific tags are added to this commit inprotocols
.-
Check if this action ran without problems and if needed address them.
-
Check success of publication steps at
protocols.inbo.be
-
-
-
-
A third GitHub Action will run when a tag
protocols-<version number>
is detected. This will trigger a GitHub release in theprotocolsource
repo and in theprotocols
repo. In turn, a GitHub release will trigger the.zenodo.json
webhook to publish this new version of the repo contents on Zenodo for long-term archiving of the protocols.- Check success of GitHub releases and publication on Zenodo