Merge branch 'main' of github.com:alex-is-busy-coding/rl-order-execution #10
This file contains hidden or 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 Configuration Docs | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'config/config.yaml' | |
| - 'README.md' | |
| - '.github/workflows/update-docs.yml' | |
| jobs: | |
| update-settings-table: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Set up Python | |
| run: uv python install | |
| - name: Install dependencies | |
| run: make install-dev | |
| - name: Update Documentation | |
| run: make docs | |
| - name: Commit and Push changes | |
| run: | | |
| git config --global user.name "github-actions[bot]" | |
| git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
| git add README.md | |
| if git diff --staged --quiet; then | |
| echo "No changes to commit" | |
| else | |
| git commit -m "docs(README): update configuration table in README" | |
| git push | |
| fi |