feat: add 11 more custom items to the showcase graphic #4
Workflow file for this run
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 Showcase Graphic | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - '.github/showcase_config.json' | |
| jobs: | |
| build-showcase: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install Pillow requests | |
| - name: Run Generator Script | |
| run: python .github/scripts/generate_showcase.py | |
| - name: Commit and push changes | |
| uses: stefanzweifel/git-auto-commit-action@v5 | |
| with: | |
| commit_message: "chore: auto-generate showcase graphic" | |
| file_pattern: '.github/images/showcase_output.png' |