skill-optimize-apply.yml 753 B

12345678910111213141516171819202122232425
  1. # Apply Skill Optimization — triggered when a contributor comments /apply-optimize on a PR.
  2. # Commits the AI-suggested SKILL.md improvements from the review step directly to the branch.
  3. # Docs: https://github.com/tesslio/skill-review-and-optimize
  4. name: Apply Skill Optimization
  5. on:
  6. issue_comment:
  7. types: [created]
  8. jobs:
  9. apply:
  10. if: >
  11. github.event.issue.pull_request &&
  12. contains(github.event.comment.body, '/apply-optimize')
  13. runs-on: ubuntu-latest
  14. permissions:
  15. pull-requests: write
  16. contents: write
  17. steps:
  18. - uses: actions/checkout@v4
  19. with:
  20. fetch-depth: 0
  21. - uses: tesslio/skill-review-and-optimize@bff9490027d60847df6494fdac7dccfb3ad82948
  22. with:
  23. mode: apply