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
{{ message }}
Repository navigation
Add central run-bids-validation + run-pr-merge workflows #11
GitHub PR events don't fan out across orgs, so unlike Phases 1-3 (push/tag-triggered), these PR-triggered workflows need a per-repo shim that dispatches at .github. The shim is ~25-30 lines and never changes; all actual logic lives here.
Inputs / client_payload: dataset_id, ref, head_sha, pr_number (optional, only set on PR-triggered runs).
Mints per-repo App token, creates a check-run on the dataset repo with status=in_progress so the PR reviewer sees a pending check.
Checks out the dataset repo at head_sha, runs the deno BIDS validator with the same jq pipeline + annex-pointer filtering as the legacy per-repo workflow.
Updates the check-run with conclusion=success / failure and a human-readable summary.
run-pr-merge.yml
repository_dispatch[run-pr-merge].
Inputs / client_payload: dataset_id, pr_number.
Mints per-repo App token, checks out the dataset repo at main.
Reads Version from dataset_description.json, creates the matching vX.Y.Z tag + GitHub release via gh CLI.
The legacy template's cleanup-staging job stays inline on the dataset-repo shim because it's AWS-only with no GitHub coupling.
Both workflows run permissions: {} at the job level and authenticate to GitHub via the per-repo App token; AWS work uses the standard org secrets.
Activity
feat(ci): add central run-bids-validation + run-pr-merge workflows