Skip to content

feat: Expand registry from 19 to 107 skills #2

feat: Expand registry from 19 to 107 skills

feat: Expand registry from 19 to 107 skills #2

Workflow file for this run

name: Update Registry
on:
schedule:
# Run daily at 00:00 UTC
- cron: '0 0 * * *'
workflow_dispatch:
push:
paths:
- 'sources/**'
- 'scripts/**'
permissions:
contents: write
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Build Registry
run: python scripts/build_registry.py
- name: Update Stars
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: python scripts/update_stars.py
- name: Rebuild Registry
run: python scripts/build_registry.py
- name: Commit and Push
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add -A
if git diff --staged --quiet; then
echo "No changes to commit"
else
git commit -m "chore: Update registry $(date -u +%Y-%m-%d)"
git push
fi