feat: Add navigation via details pane #49
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |