Skip to content

📝 docs: Update README with usage instructions and add LICENSE #29

📝 docs: Update README with usage instructions and add LICENSE

📝 docs: Update README with usage instructions and add LICENSE #29

Workflow file for this run

name: Update Views and Metadata
on:
push:
paths:
- "prompts/prompt.md"
- "prompts/*/prompt.md"
- ".github/templates/*.md"
- ".github/prompts/**/*.md"
- ".github/scripts/*.py"
jobs:
update_views:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12.6"
cache: "pip"
cache-dependency-path: ".github/scripts/requirements.txt"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r .github/scripts/requirements.txt
- name: Generate metadata
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
run: python .github/scripts/generate_metadata.py
- name: Update views
run: python .github/scripts/update_views.py
- name: Commit changes
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add prompts/
git add README.md
git status
git diff --staged --name-status
git commit -m "♻️ chore: Update metadata and views" || echo "No changes to commit"
git push