Merge pull request #1033 from truenas/NAS-121062

NAS-121062 / 23.10 / Add github workflow for validating apps under developement dir
This commit is contained in:
Waqar Ahmed
2023-03-16 19:57:19 +05:00
committed by GitHub
2 changed files with 21 additions and 1 deletions

21
.github/workflows/dev_apps_validate.yml vendored Normal file
View File

@@ -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)"

View File

@@ -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>