nwb-extensions / ndx-template

A template for creating Neurodata Extensions for the NWB neurophysiology data standard
https://nwb.org/
Other
5 stars 8 forks source link

CI on dev is broken #46

Closed rly closed 2 years ago

rly commented 4 years ago

In my attempts to get Azure Pipelines to work on PRs where the source is a fork (which still does not work), I broke CI that runs after a merge to the master branch. CI still runs correctly on PRs from branches within the ndx-template repo.

The culprit is this line:

cookiecutter -v --no-input --output-dir "/home/vsts/work/1" gh:nwb-extensions/ndx-template --checkout "$(System.PullRequest.SourceBranch)"

where $(System.PullRequest.SourceBranch) is not defined when run from a merge and not a PR.

rly commented 2 years ago

Fixed in #61 I believe.