You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to create a GitHub Actions workflow that automates the process of generating and managing CEDAR templates based on a primary template edited in a Google Sheet. After editing, at some point it should be possible to trigger a GitHub workflow in a repo that:
Obtains a copy of the above google sheet as a CSV (there is a way of specifying a URL that can be resolved and the contents downloaded to do this)
Commits the downloaded CSV to the GitHub repo
Generates a CEDAR template, using CEDAR Cli (Yan)
Commits the template to the GitHub repo
Pushes the template to CEDAR
Generates the documentation for the template using CEDAR CLI
Commits the documentation to the gh_pages branch of the repo
Updates the README.md for the repo that points to
The GoogleSheet,
The CEDAR Template in the Repo,
The CEDAR Template in CEDAR
The documentation URL
Greate a GitHub release that tags the above
It would excellent if a copy of the sheet could be made (in the Google Workbook) that was read only and was labeled with the semantic version corresponding to the GitHub release. This could be a fair bit of extra work though.
The text was updated successfully, but these errors were encountered:
Uses CEDAR CLI to generate a CEDAR template, fields, elements, and documentation, and post them to CEDAR.
Copies the generated template to the local repo, named RADxMetadataSpecification.json.
Commits and pushes the template to the repo.
Copies the generated docs to the local repo, named specification.md.
Commits and pushes specification.md to the gh_pages branch of the repo.
Manually triggers GitHub workflow, passing in:
Google Sheets ID (optional)
Google Sheets tab ID (required)
Template folder ID in CEDAR (required)
GitHub release version (optional)
Github Action workflow will:
Download CSV from Google Sheet.
Commit the template CSV to the GitHub repo.
Update the README.md for the repo to point to:
The Google Sheet
The CEDAR Template in the Repo
The CEDAR Template in CEDAR
The documentation URL
Create a GitHub release that tags the above. (if the release version is provided)
Make a copy of the sheet (in the Google Workbook) that was read-only and labeled with the semantic version corresponding to the GitHub release. (if the release version is provided)
We need to create a GitHub Actions workflow that automates the process of generating and managing CEDAR templates based on a primary template edited in a Google Sheet. After editing, at some point it should be possible to trigger a GitHub workflow in a repo that:
The text was updated successfully, but these errors were encountered: