Parcourir la source

Properly get base branch history

sonicaj il y a 2 ans
Parent
commit
bf0348f7ab
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. 5 1
      .github/workflows/dev_apps_validate.yml

+ 5 - 1
.github/workflows/dev_apps_validate.yml

@@ -10,6 +10,10 @@ jobs:
       image: ixsystems/catalog_validation:latest
 
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
+        with:
+          fetch-depth: 0
+      - name: Fetch base branch history
+        run: git fetch origin master:master
       - name: validate dev catalog
         run: /bin/bash -c "/usr/local/bin/dev_charts_validate validate --path $(pwd)"