Skip to content

Add Zenodo publish workflow for v2.0.0 - #37

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/zenodo-v2-release-da49
Jul 12, 2026
Merged

Add Zenodo publish workflow for v2.0.0#37
cursor[bot] merged 1 commit into
mainfrom
cursor/zenodo-v2-release-da49

Conversation

@brunomartinsmv

Copy link
Copy Markdown
Owner

Summary

Adds automation to archive GitHub releases on Zenodo for v2.0.0 and future tags. The GitHub–Zenodo webhook did not fire automatically (the existing Zenodo record still references the legacy repo name fisicambiental).

Changes

  • .zenodo.json — metadata for Zenodo/GitHub integration
  • scripts/publish_zenodo_release.py — stdlib script to create a new Zenodo version from a Git tag (links to CHANGELOG.md instead of duplicating release notes)
  • .github/workflows/zenodo-publish.yml — runs on release: published or workflow_dispatch
  • docs/reproducibility.md — documents Zenodo publishing and DOI update steps

Required follow-up

Add repository secret ZENODO_ACCESS_TOKEN (Zenodo personal access token with deposit:write and deposit:actions), then run the workflow manually for v2.0.0. After publish, update the version DOI in README.md and CITATION.cff.

Open in Web Open in Cursor 

Provide .zenodo.json metadata, a stdlib publish script, and a GitHub Actions
workflow triggered on release or workflow_dispatch. Release notes on Zenodo
link to CHANGELOG as the single source of truth.

Co-authored-by: Bruno <brunomartinsmv@users.noreply.github.com>
@cursor
cursor Bot marked this pull request as ready for review July 12, 2026 21:40
@cursor
cursor Bot merged commit 6ab5009 into main Jul 12, 2026
4 checks passed
@cursor

cursor Bot commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Revisão — follow-up implementado

O bloqueio crítico (script ausente) já foi resolvido em PR #38 (scripts/publish_zenodo_release.py).

Os demais pontos da revisão foram endereçados em PR follow-up (cursor/zenodo-review-fixes-5eda):

Item Status
🔴 Script ausente ✅ Resolvido em PR #38
🟡 Checkout da tag no workflow_dispatch ✅ Aplicado (commit 25d878e + merge follow-up)
🟡 Guard para secret ausente ✅ Step explícito com ::error::
🟡 Testes com mock HTTP tests/test_publish_zenodo_release.py (6 testes)
🟡 ORCID vazio em .zenodo.json ✅ Campo removido
🟡 Verificar deposition-id ⚠️ Pendente de confirmação manual no painel Zenodo antes da 1ª publicação

Melhoria adicional: o anchor do CHANGELOG agora é derivado dinamicamente a partir de CHANGELOG.md em vez de estar hardcoded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants