فهرست منبع

Merge branch 'candidate-7.12.x' into candidate-8.0.x

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 4 سال پیش
والد
کامیت
c17b532d2a
1فایلهای تغییر یافته به همراه7 افزوده شده و 3 حذف شده
  1. 7 3
      .github/workflows/test-eclhelper.yml

+ 7 - 3
.github/workflows/test-eclhelper.yml

@@ -11,9 +11,13 @@ jobs:
     name: "Check eclhelper interface"
     runs-on: ubuntu-latest
     steps:
-      - name: Checkout
+      - name: Checkout pr
         uses: actions/checkout@v2
         with:
-          fetch-depth: 2
+          fetch-depth: 1
+      - name: Fetch base
+        run: |
+          git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin ${{ github.event.pull_request.base.sha }}
       - name: Check eclhelper
-        run: git diff HEAD^ --exit-code -- rtl/include/eclhelper.hpp
+        run: |
+          git diff ${{ github.event.pull_request.base.sha }} --exit-code -- rtl/include/eclhelper.hpp