Missed $ #195
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: Generate Action READMEs | |
| on: | |
| push: | |
| branches: ["**"] | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| concurrency: | |
| group: generate-action-readmes-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| generate: | |
| if: github.actor != 'github-actions[bot]' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install deps | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install PyYAML | |
| - name: Generate README.md blocks | |
| run: | | |
| python scripts/generate_action_readmes.py | |
| - name: Commit changes (if any) | |
| run: | | |
| set -euo pipefail | |
| if git diff --quiet; then | |
| echo "No README changes to commit." | |
| exit 0 | |
| fi | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git add */*/README.md | |
| git commit -m "docs: update action READMEs [skip ci]" | |
| git push |