I have a manuscript in review at a reputable journal. The code and data associated with this study will be made public on Github and releases archived in Zenodo with open access, providing a fixed DOI for the archive and one for each release.
At this stage, before the journal has formally accepted or rejected my manuscript, they are requiring me, as a matter of policy, to provide the final Zenodo DOI. This could mean I am expected to release the code (publicly, under an MIT license) before knowing whether the paper will actually be published. This might become a problem, so I'm looking into my options.
Is it possible to create a new closed-access archive on Zenodo, get a DOI for it, and then later change the access to open-access when I decide to do so, without changing the original DOI in any way? Of course I wouldn't be making any changes at all to the contents, only the access permissions.
That would neatly solve my problem, but I can't find any information confirming whether this is actually possible. Does anybody have direct experience relevant to that?