Skip to content

ci: add automated skill review for SKILL.md pull requests#41

Open
popey wants to merge 1 commit intojordanhubbard:mainfrom
popey:add-skill-review-ci
Open

ci: add automated skill review for SKILL.md pull requests#41
popey wants to merge 1 commit intojordanhubbard:mainfrom
popey:add-skill-review-ci

Conversation

@popey
Copy link
Copy Markdown
Contributor

@popey popey commented Mar 30, 2026

Hullo! Thanks for merging the skill improvements earlier. This is a follow-up that adds a lightweight GitHub Action to automatically review any SKILL.md files when they're changed in a PR, using tessl skill review.

  • Triggers only on PRs that touch **/SKILL.md
  • Posts review results as a PR comment
  • Minimal permissions: pull-requests: write and contents: read

This way you and your contributors get an instant quality signal on skill changes before manual review — no signup or tokens needed.

Adds a lightweight GitHub Action that reviews any SKILL.md files changed
in a pull request using tessl skill review. Posts results as a PR comment
with minimal permissions (pull-requests: write, contents: read).

Signed-off-by: Alan Pope <alan@popey.com>
Copilot AI review requested due to automatic review settings March 30, 2026 10:00
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a GitHub Actions workflow to automatically run tesslio/skill-review on pull requests that modify any **/SKILL.md, and publish the results back to the PR.

Changes:

  • Introduces .github/workflows/skill-review.yml workflow triggered on PRs touching **/SKILL.md
  • Checks out the repo and runs tesslio/skill-review with PR comment permissions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

contents: read
steps:
- uses: actions/checkout@v4
- uses: tesslio/skill-review@main
Copy link

Copilot AI Mar 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tesslio/skill-review@main uses a moving branch ref, which reduces reproducibility and increases supply-chain risk (a force-push or compromised upstream could change behavior without review). Pin to a stable release tag or (preferably) a commit SHA and update it intentionally when you want new behavior.

Suggested change
- uses: tesslio/skill-review@main
- uses: tesslio/skill-review@3f2c9b1d4a6e8b7c2d1e9f0a5b4c3d2e1f0a9b8

Copilot uses AI. Check for mistakes.
Comment on lines +2 to +11
on:
pull_request:
paths: ['**/SKILL.md']

jobs:
review:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: read
Copy link

Copilot AI Mar 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the pull_request event, GITHUB_TOKEN is read-only for PRs from forks, so the job typically cannot create PR comments even though pull-requests: write is requested. If the intent is to comment on external-contributor PRs, consider switching to pull_request_target (and avoid checking out/running untrusted PR code), or have the action post results as a check/run instead of a PR comment.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants