Files
skills/.github/workflows/update.yml
T

51 lines
1.3 KiB
YAML

name: 🔄 Update
on:
schedule:
- cron: "17 4 * * *"
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
update-skills:
name: 🧠 Update skills-lock.json
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout
uses: actions/checkout@v7
- name: 🐍 Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: 🔧 Set up Node.js
uses: actions/setup-node@v6
with:
node-version: lts/*
- name: 📦 Install lint tools
run: |
python -m pip install --upgrade pip
pip install --group lint
sudo apt-get update && sudo apt-get install -y shellcheck
npm install -g markdownlint-cli2
- name: 🔄 Update skills
run: make update
- name: 🧪 Run tests
run: make test
- name: 📂 Open PR if skills-lock.json changed
uses: peter-evans/create-pull-request@v7
with:
branch: update/skills
commit-message: "update(skills): update skills-lock.json to latest versions"
title: "update(skills): update agent skills to latest versions"
body: "Automated daily update of `skills-lock.json` via `make update`."
add-paths: skills-lock.json