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
Add .github/workflows/run-generate-archive.yml. Lifts the existing per-repo generate-archive.yml template — the workflow that streams a dataset version's annex content into a zip and uploads it to S3 at nemar/<dataset_id>/archives/v<X.Y.Z>.zip.
Already repository_dispatch[generate-archive]-driven, so this is the lowest-friction phase — the Worker just retargets the dispatch URL from the dataset repo to .github. No new push-handler logic.
Validates dataset_id shape against nm|on|xx + 6 digits.
Mints a per-repo App installation token scoped to client_payload.dataset_id.
Checks out the target dataset repo at the version tag (not .github itself). Required because the streaming script resolves git-annex pointers from the dataset's working tree.
permissions: {} at the job level.
workflow_dispatch with dataset_id + version inputs for manual recovery.
Test plan
After merge:
gh workflow run run-generate-archive.yml --repo nemarDatasets/.github \
-f dataset_id=nm099999 -f version=0.0.0-rc2
gh run watch
Expect green; archive uploaded at s3://nemar/nm099999/archives/v0.0.0-rc2.zip.
Activity
feat(ci): add central run-generate-archive workflow