File tree 2 files changed +6
-8
lines changed
2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -93,14 +93,6 @@ function CreateNuGetPackage {
93
93
CheckLastExitCode
94
94
}
95
95
96
- function LoadOpenApiBranchIfRequired {
97
- if ($env: APPVEYOR_REPO_BRANCH -eq " openapi" ) {
98
- git fetch origin openapi:openapi
99
- }
100
- }
101
-
102
- LoadOpenApiBranchIfRequired
103
-
104
96
dotnet tool restore
105
97
CheckLastExitCode
106
98
Original file line number Diff line number Diff line change 37
37
services :
38
38
- postgresql101
39
39
# REF: https://github.com/docascode/docfx-seed/blob/master/appveyor.yml
40
+ clone_script :
41
+ # This ensures the base branch is loaded which is required for regitlint to run.
42
+ - ps : |
43
+ git clone --branch=$env:APPVEYOR_REPO_BRANCH [email protected] :$env:APPVEYOR_REPO_NAME.git $env:APPVEYOR_BUILD_FOLDER
44
+ git fetch -q origin +refs/pull/$env:APPVEYOR_PULL_REQUEST_NUMBER/merge:
45
+ git checkout -qf FETCH_HEAD
40
46
before_build :
41
47
- pwsh : |
42
48
if (-Not $env:APPVEYOR_PULL_REQUEST_TITLE) {
You can’t perform that action at this time.
0 commit comments