Skip to content

Rename CONFIG.json to 01_test_CONFIG.json #77

Rename CONFIG.json to 01_test_CONFIG.json

Rename CONFIG.json to 01_test_CONFIG.json #77

name: Generate Markdown List
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyyaml
- name: Run script
run: python generate_markdown_list.py
- name: Commit changes
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add markdown_files.csv markdown_files.json markdown_files.yaml
git diff-index --quiet HEAD || git commit -m "Update generated markdown files"
git push