From 90667cf8f57d55f0f78df57c760ad9c916438d18 Mon Sep 17 00:00:00 2001 From: sonicaj Date: Tue, 22 Nov 2022 17:50:41 +0500 Subject: [PATCH] Add github workflow for updating catalog information --- .github/workflows/update_catalog.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/update_catalog.yaml diff --git a/.github/workflows/update_catalog.yaml b/.github/workflows/update_catalog.yaml new file mode 100644 index 0000000000..8fa49f60df --- /dev/null +++ b/.github/workflows/update_catalog.yaml @@ -0,0 +1,22 @@ +name: catalog_validation + +on: + push: + branches: + - 'master' + +jobs: + validate: + runs-on: ubuntu-latest + + container: + image: truenas/catalog_validation:latest + + steps: + - uses: actions/checkout@v2 + - name: Update catalog details + run: ./update_catalog_detail.py + - uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: Update catalog information + file_pattern: 'catalog.json'