Skip to content

Code generated by Alternative-Datasets-Skill-Generator.py #128

Code generated by Alternative-Datasets-Skill-Generator.py

Code generated by Alternative-Datasets-Skill-Generator.py #128

name: Upload Skills and Project Templates to S3
on:
push:
paths:
- '**/SKILL.md'
- 'project-templates/**'
workflow_dispatch: # Run on manual trigger
jobs:
upload_skills_project_templates:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Bundle Skills
# Validate and bundle all SKILL.md files into a single zip for upload.
# The script lives in `skill-templates/` and writes `skills.zip` at the repo root.
run: python3 skill-templates/bundle-skills.py
- name: Zip
run: zip -r llm-content.zip skills/ project-templates/
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v6
with:
aws-access-key-id: ${{ secrets.AWS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET }}
aws-region: us-west-1
- name: Upload content to S3
run: aws s3 cp llm-content.zip s3://cdn.quantconnect.com/llm-content/llm-content-latest.zip --acl bucket-owner-full-control
- name: Create Pull Request
uses: peter-evans/create-pull-request@v8
with:
branch: github-action-skills-bundle
add-paths: skills/**
title: "Update bundled skills/ tree"
body: "Automated changes from skill-templates/bundle-skills.py."
committer: "GitHub Actions <github-actions@github.com>"
author: "GitHub Actions <github-actions@github.com>"