Sync Caveman Review skill #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |