mirror of
https://github.com/truenas/charts.git
synced 2026-11-05 06:59:03 +08:00
Merge pull request #878 from truenas/NAS-118966
NAS-118966 / 22.12 / Add github action to automatically generate catalog data from existing state
This commit is contained in:
26
.github/workflows/update_catalog.yaml
vendored
Normal file
26
.github/workflows/update_catalog.yaml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
name: catalog_validation
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
|
||||
jobs:
|
||||
validate:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
container:
|
||||
image: ixsystems/catalog_validation:latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Update catalog details
|
||||
run: |
|
||||
/bin/bash -c "PWD=${pwd}; /usr/local/bin/catalog_update update --path $PWD"
|
||||
- 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