datalad / datalad-extension-template

Minimal implementation of a DataLad extension module
http://datalad.org
Other
2 stars 17 forks source link

Missing documentation/components for release action workflow #54

Closed mih closed 1 year ago

mih commented 1 year ago

Readme says:

Generate GitHub labels for use by the "Add changelog.d snippet" and "Auto-release on PR merge" workflows by using the code in the datalad/release-action repository as described in its README.

That README says run nox with a command that I translate to

GITHUB_TOKEN=... nox -e labels -- datalad/datalad-dataverse .datalad-release-action.yaml

and when I execute that I get

nox > Failed to load Noxfile /home/mih/hacking/datalad/dataverse/noxfile.py, no such file exists.

Either the instructions are incomplete, or the extension template should ship this file.

I was not aware of nox before, but it seems to be tox with a different configuration syntax.

jwodder commented 1 year ago

As stated in the release-action README, you need to run that command "in a clone of [the datalad/release-action] repository".

mih commented 1 year ago

Thanks for the clarification. I misunderstood the instructions.