Daily skill updates with GitHub Actions
Create Pull Request skips empty commits and PRs.
name: Update skills
on: schedule: - cron: "0 8 * * *" workflow_dispatch:
permissions: contents: write pull-requests: write
concurrency: group: update-skills
env: npm_config_yes: "true"
jobs: update: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 with: ref: ${{ github.event.repository.default_branch }} - uses: actions/setup-node@v7 with: node-version: "24" - run: npx skills update --project --yes env: GH_TOKEN: ${{ github.token }} - run: npx oxfmt --write . - uses: peter-evans/create-pull-request@v8 with: # Daily runs with changes update the same open PR on this branch. branch: chore/update-skills commit-message: "chore: update agent skills" title: "chore: update agent skills" body: "Daily skill updates, formatted with oxfmt."Use symlink-based project skills and commit them with skills-lock.json. Keep the workflow on the default branch and enable Settings → Actions → General → Workflow permissions → Allow GitHub Actions to create and approve pull requests.