chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
name: Check AGENTS.md and marketplace.json
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "scripts/AGENTS_TEMPLATE.md"
|
||||
- "scripts/generate_agents.py"
|
||||
- "**/SKILL.md"
|
||||
- "agents/AGENTS.md"
|
||||
- ".claude-plugin/marketplace.json"
|
||||
|
||||
jobs:
|
||||
validate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Set up uv
|
||||
uses: astral-sh/setup-uv@v7
|
||||
|
||||
- name: Generate AGENTS.md and validate marketplace.json
|
||||
run: uv run scripts/generate_agents.py
|
||||
|
||||
- name: Ensure AGENTS.md is up to date
|
||||
run: |
|
||||
git diff --quiet -- agents/AGENTS.md || {
|
||||
echo "::error::agents/AGENTS.md is outdated. Run 'python scripts/generate_agents.py' and commit the changes."
|
||||
exit 1
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
name: Sync Evals Leaderboard to Hugging Face Space
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'apps/evals-leaderboard/**'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Install huggingface_hub
|
||||
run: curl -LsSf https://hf.co/cli/install.sh | bash
|
||||
|
||||
- name: Upload evals leaderboard to HF Space
|
||||
env:
|
||||
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
||||
run: hf upload hf-skills/distributed-leaderboard apps/evals-leaderboard . --repo-type=space
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
name: Sync Hackers Leaderboard to Hugging Face Space
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'apps/hackers-leaderboard/**'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Install huggingface_hub
|
||||
run: curl -LsSf https://hf.co/cli/install.sh | bash
|
||||
|
||||
- name: Upload hackers leaderboard to HF Space
|
||||
env:
|
||||
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
||||
run: hf upload hf-skills/hacker_leaderboard apps/hackers-leaderboard . --repo-type=space
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
name: Sync Quests to Hugging Face Space
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'quests/**'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Install huggingface_hub
|
||||
run: curl -LsSf https://hf.co/cli/install.sh | bash
|
||||
|
||||
- name: Upload quests to HF Space
|
||||
env:
|
||||
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
||||
run: hf upload hf-skills/README quests . --repo-type=space
|
||||
|
||||
Reference in New Issue
Block a user