Closed rly closed 2 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.
$(System.PullRequest.SourceBranch)
Fixed in #61 I believe.
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:
where
$(System.PullRequest.SourceBranch)
is not defined when run from a merge and not a PR.