Browse Source

Merge pull request #1033 from truenas/NAS-121062

NAS-121062 / 23.10 / Add github workflow for validating apps under developement dir
Waqar Ahmed 2 năm trước cách đây
mục cha
commit
39daa1eaf0

+ 21 - 0
.github/workflows/dev_apps_validate.yml

@@ -0,0 +1,21 @@
+name: dev_catalog_validation
+
+on: [push]
+
+jobs:
+  ix-dev-validate:
+    runs-on: ubuntu-latest
+
+    container:
+      image: ixsystems/catalog_validation:latest
+
+    steps:
+      - uses: actions/checkout@v3
+        with:
+          fetch-depth: 0
+      - name: Adding git directory to safe path
+        run: git config --global --add safe.directory "$(pwd)"
+      - 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)"

+ 0 - 1
.github/workflows/update_catalog.yaml

@@ -26,7 +26,6 @@ jobs:
       - uses: stefanzweifel/git-auto-commit-action@v4
         with:
             commit_message: Update catalog information
-            file_pattern: 'catalog.json'
             commit_user_name: sonicaj
             commit_user_email: waqarsonic1@gmail.com
             commit_author: sonicaj <waqarsonic1@gmail.com>