Automation and the nemar-bot App
NEMAR (Neuroelectromagnetic Data Archive and Tools Resource) runs a GitHub App named nemar-bot, owned by the nemarOrg organization.
Most of the automation that acts on dataset repositories acts as nemar-bot[bot], so its commits, checks and comments carry that name.
This page says what the bot does, what starts each action, and what it never decides.
The code is public in nemarOrg/nemar-cli, and the workflows run from nemarDatasets/.github.
What starts each action
Section titled “What starts each action”A change to a dataset’s description
Section titled “A change to a dataset’s description”When a push to main changes README.md or dataset_description.json, the bot runs metadata enrichment.
A large language model drafts the dataset’s abstract, methods summary, subject keywords and funding references.
The rules for that step are on AI-Assisted Curation.
The bot commits the result as .nemar/metadata.json and .bidsignore.
Changes to those generated files do not start another run.
A version tag
Section titled “A version tag”When a tag such as v1.2.0 is pushed to a dataset repository, the bot creates a GitHub release for it and mints the version Digital Object Identifier (DOI).
See DOI and versioning.
A pull request
Section titled “A pull request”Every dataset pull request gets two checks. Run BIDS Validation checks the dataset against the Brain Imaging Data Structure (BIDS) standard, and version-check compares the version with the change log.
A pull request to a published dataset also gets the NEMAR PR Review check and a comment. The review reads the change and reports on it; it does not approve it. The rules it applies are in Collaboration.
A merge to main
Section titled “A merge to main”When a pull request is merged, the release step reads the version in dataset_description.json.
If no tag exists for that version yet, it creates the v tag and a release, and the new tag starts the version DOI step above.
A publication request
Section titled “A publication request”When someone asks to publish a dataset, the bot runs two screens before an administrator looks at it.
- The identifier screen reads recording headers, tables and file names for information that identifies a participant. It does not use a language model. See Identifier screening.
- The pre-screen asks a language model whether the dataset meets the minimum for publication, such as real data being present and the README saying what the dataset is. Its result is advisory and never rejects a dataset on its own. See Dataset Submission Standards.
An approval
Section titled “An approval”An administrator approves a publication on the NEMAR website. The bot then runs the approval steps as a GitHub workflow, which publish the dataset and mint its DOI. See Publication review.
A model-based review of publication requests is being prepared. It is not yet part of publication on production, and this page will say so when it is.
What the bot can write
Section titled “What the bot can write”The App has read and write access to repository contents, Actions workflows, pull requests, issues and checks. It has administration access so that it can set repository rulesets. Its reads of metadata are read-only.
- It installs three thin workflow files in each dataset repository, which call the central workflows.
- It sets branch and tag protection on dataset repositories.
The required checks are tied to this App, so only a check the App posted can satisfy them.
The App is also exempt from the rule that holds people back, so its own commits to
mainand its version tags are not blocked.
What the bot never decides
Section titled “What the bot never decides”- No part of the bot approves a pull request. An approval is given by an administrator under their own GitHub account.
- The bot never publishes a dataset by itself. Publication happens only after an administrator approves it.
- Model output is never final. Each model result is a proposal that a person or a fixed rule checks before it counts.
- The bot does not send recordings to a model. The model inputs are described on AI-Assisted Curation.
How to recognize its work
Section titled “How to recognize its work”- Commits authored as
nemar-botonmainof a dataset repository. - Checks named Run BIDS Validation, version-check and NEMAR PR Review.
- Comments from
nemar-bot[bot]on pull requests. - Run logs for the central workflows, which are public in the
nemarDatasets/.githubrepository.
Reporting a problem
Section titled “Reporting a problem”For a problem with one dataset, open an issue on that dataset’s repository under github.com/nemarDatasets. For a problem that affects many datasets or the automation itself, open an issue on nemar-cli. If you cannot use GitHub, write to support@nemar.org. Security vulnerabilities follow the Security Policy.
Changes
Section titled “Changes”- 2026-10-26.
The App was renamed from
nemar-publish-bottonemar-bot, because it now does more than publishing. Its behavior did not change. Links to the old settings page no longer resolve.