Closed dalito closed 6 months ago
While it might not be a bad safeguard I don't believe a full checkout is strictly necessary. You can see that the PyPI publish workflow in the main linkml
repo doesn't do that. When it runs there is a warning because of the shallow checkout (the Dunamai library may just be being overly cautious) but does nevertheless produce the correct version number.
Ah, OK. I mainly made the PR because I misunderstood the issue description initially. So I leave it up to you. We can just close this.
Interestingly, the doc-build also does a full checkout (in deploy-docs.yaml).
Not quite sure off the top of my head why the deploy-docs workflow does a full checkout. I might look into that and see if it's really necessary. In the meantime I think I'm going to close this PR as suggested.
Closes #76