2022-09-22 12:04:38 +00:00
|
|
|
name: Sync multiple branches
|
2022-09-22 12:07:38 +00:00
|
|
|
|
|
|
|
concurrency: catalog-test
|
|
|
|
|
2022-09-22 12:04:38 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'staging'
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test-and-sync:
|
|
|
|
name: Test and Sync SCALE Catalog
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
|
|
image: ghcr.io/truecharts/devcontainer:v2.6.0@sha256:cefec796e714cd07bae25ef48670999819ceefa0cbb5ff8b9738fabc916ceea7
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
|
|
|
|
name: Checkout
|
|
|
|
|
|
|
|
- name: catalog tests
|
|
|
|
run: |
|
|
|
|
echo "Starting Catalog Validation"
|
2022-09-22 12:14:35 +00:00
|
|
|
/usr/local/bin/catalog_validate validate --path "${PWD}"
|
2022-09-22 12:34:58 +00:00
|
|
|
|
|
|
|
- name: Merge master back to dev
|
|
|
|
run: |
|
|
|
|
git config user.name "TrueCharts-Bot"
|
|
|
|
git config user.email "bot@truecharts.org"
|
|
|
|
git push origin staging:main
|