Skip to content

Sync Caveman Review skill #5

Sync Caveman Review skill

Sync Caveman Review skill #5

name: Sync Caveman Review skill
on:
schedule:
- cron: '0 0 1 * *'
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
sync-file:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Fetch upstream file
run: |
mkdir -p .github
curl -fsSL "https://raw.githubusercontent.com/JuliusBrussee/caveman/main/skills/caveman-review/SKILL.md" -o .github/copilot-instructions.md
- name: Create PR
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'chore: automatically sync Caveman Review skill from upstream'
title: 'chore: automatically sync Caveman Review skill from upstream'
body: 'Automated sync of Caveman Review skill from upstream repository.'
branch: 'sync/caveman-review'
delete-branch: true