Skip to content

Commit 8112918

Browse files
committed
CI fix try out
1 parent 100841f commit 8112918

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

appveyor.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ branches:
2020
- unstable
2121
- /release\/.+/
2222

23+
# This ensures the base branch is loaded which is required for regitlint to run.
24+
clone_script:
25+
- pwsh: |
26+
Write-Output "TEST";
27+
git clone --branch=$env:APPVEYOR_REPO_BRANCH git@github.com:$env:APPVEYOR_REPO_NAME.git $env:APPVEYOR_BUILD_FOLDER
28+
git fetch -q origin +refs/pull/$env:APPVEYOR_PULL_REQUEST_NUMBER/merge:
29+
git checkout -qf FETCH_HEAD
30+
2331
pull_requests:
2432
do_not_increment_build_number: true
2533

@@ -36,13 +44,6 @@ for:
3644
- image: Visual Studio 2019
3745
services:
3846
- postgresql101
39-
# This ensures the base branch is loaded which is required for regitlint to run.
40-
clone_script:
41-
- pwsh: |
42-
Write-Output "TEST";
43-
git clone --branch=$env:APPVEYOR_REPO_BRANCH git@github.com:$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
4647
# REF: https://github.com/docascode/docfx-seed/blob/master/appveyor.yml
4748
before_build:
4849
- pwsh: |

0 commit comments

Comments
 (0)