Skip to content

Add Matt's bird 🐦 #56

Add Matt's bird 🐦

Add Matt's bird 🐦 #56

Workflow file for this run

name: Process New Birds
on:
push:
branches:
- main
jobs:
process-birds:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install Pillow google-generativeai
- name: Process birds
env:
GOOGLE_GEMINI_API_KEY: ${{ secrets.GOOGLE_GEMINI_API_KEY }}
run: |
python process_birds.py
- name: Commit and push changes
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add manifest.json birds/
git commit -m "Automated bird processing ✨" || echo "No changes to commit"
git push