Skip to content

feat: include Zenodo validation workflow in ZIP download - #90

Merged
beanbean9339 merged 2 commits into
mainfrom
feat/issue-86-zenodo-validation-workflow
Nov 9, 2026
Merged

beanbean9339 merged 2 commits into
mainfrom
feat/issue-86-zenodo-validation-workflow

Conversation

@beanbean9339

Copy link
Copy Markdown
Collaborator

Closes #86

Summary

  • The downloaded ZIP now includes .github/workflows/validate-zenodo.yaml (the Zenodo JSON validation workflow from the Collaborative-distributed-science-guide), in the proper folder structure.
  • Added a note in the UI and README that dot-files/folders (.zenodo.json, .github) may be hidden by file managers.
  • Added tests for the workflow path and content.

Testing

  • npm test passes (107 tests) and npm run build succeeds on Node 22.

Notes

  • The workflow text is a static copy and will not track later changes in the guide repo.

@beanbean9339 beanbean9339 added documentation Improvements or additions to documentation enhancement New feature or request labels Nov 8, 2026
@beanbean9339
beanbean9339 requested a balanced review from Copilot November 8, 2026 21:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are identified for the Zenodo workflow export changes.

No open issues 🎉

What changed in this PR

Adds a Zenodo validation workflow to OpenCite’s metadata ZIP download, addressing #86 so users can validate exported metadata in GitHub Actions.

Changes:

  • Bundles a static workflow at .github/workflows/validate-zenodo.yaml.
  • Explains in the UI and README that dot-files and dot-folders may be hidden.
  • Adds tests for the workflow’s destination path and validation command.
File Description
tests/​services/​zenodoWorkflow.test.js Tests the workflow path and key content.
src/​services/​zenodoWorkflow.js Defines the bundled workflow path and YAML content.
src/​App.jsx Includes the workflow in ZIP exports and explains hidden files.
README.md Documents the bundled workflow and hidden-file visibility.

Review effort: Balanced

@egrace479 egrace479 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect!

One small note, we may want to adjust the "Download ZIP" button to have a more accurate parenthetical note now that it's downloading 4 files. Could be as simple as "Download ZIP (All files)".

@beanbean9339
beanbean9339 merged commit bc54d47 into main Nov 9, 2026
1 check passed
@beanbean9339
beanbean9339 deleted the feat/issue-86-zenodo-validation-workflow branch November 9, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Include Zenodo JSON validation workflow in downloaded zip

3 participants