Skip to content

Merge branch 'main' of github.com:adongwanai/AgentGuide #21

Merge branch 'main' of github.com:adongwanai/AgentGuide

Merge branch 'main' of github.com:adongwanai/AgentGuide #21

name: Update resources index
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Generate resources
run: |
python scripts/generate_resources.py
- name: Commit changes
run: |
git config user.name "github-actions"
git config user.email "github-actions@github.com"
git add data/resources.json || true
git commit -m "chore: update resources index" || echo "no changes"
git push || echo "skip push"