mirror of
https://github.com/truenas/charts.git
synced 2026-04-13 17:52:13 +08:00
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:
21
.github/workflows/dev_apps_validate.yml
vendored
Normal file
21
.github/workflows/dev_apps_validate.yml
vendored
Normal 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)"
|
||||
1
.github/workflows/update_catalog.yaml
vendored
1
.github/workflows/update_catalog.yaml
vendored
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user