Skip to content

Merge pull request #70 from OCNS/feat-graph-ankur #39

Merge pull request #70 from OCNS/feat-graph-ankur

Merge pull request #70 from OCNS/feat-graph-ankur #39

Workflow file for this run

name: Update JSON
on: [push]
jobs:
test:
name: Update JSON
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: install dependencies
run: python -m pip install -r requirements.txt
- name: update json file
run: python yaml2json.py
- name: commit if necessary
uses: stefanzweifel/git-auto-commit-action@v5
with:
file_pattern: simtools/simtools.json
commit_message: Update JSON from yaml files