From ccce5d6f1f5bb0b342bb875c080f00f40f944acb Mon Sep 17 00:00:00 2001 From: Bap <83458751+fernandezbaptiste@users.noreply.github.com> Date: Wed, 8 Apr 2026 14:41:56 +0100 Subject: [PATCH] add skill-review-and-optimize CI for skill.md PRs --- .github/workflows/skill-apply-optimize.yml | 24 ++++++++++++++++++++++ .github/workflows/skill-review.yml | 19 +++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 .github/workflows/skill-apply-optimize.yml create mode 100644 .github/workflows/skill-review.yml diff --git a/.github/workflows/skill-apply-optimize.yml b/.github/workflows/skill-apply-optimize.yml new file mode 100644 index 000000000..6c9886c49 --- /dev/null +++ b/.github/workflows/skill-apply-optimize.yml @@ -0,0 +1,24 @@ +name: Skill Apply Optimize + +on: + issue_comment: + types: [created] + +permissions: + contents: write + pull-requests: write + +jobs: + skill-apply-optimize: + if: >- + github.event.issue.pull_request && + contains(github.event.comment.body, '/apply-optimize') + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ github.event.issue.pull_request.head.ref }} + + - uses: tessl-lab/skill-apply-optimize-action@d81583861aaf29d1da7f10e6539efef4e27b0dd5 + with: + tessl_api_token: ${{ secrets.TESSL_API_TOKEN }} diff --git a/.github/workflows/skill-review.yml b/.github/workflows/skill-review.yml new file mode 100644 index 000000000..7f57a1c91 --- /dev/null +++ b/.github/workflows/skill-review.yml @@ -0,0 +1,19 @@ +name: Skill Review + +on: + pull_request: + paths: + - "skills/**/skill.md" + - "**/skill.md" + +permissions: + contents: read + pull-requests: write + +jobs: + skill-review: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: tessl-lab/skill-review-action@d81583861aaf29d1da7f10e6539efef4e27b0dd5