fix(claude): correct skill docs per PR review feedback

Fix validate skill description to say "precommit" instead of "test",
and fix check-pins SHA guidance to use origin/main instead of HEAD.
This commit is contained in:
2026-03-08 03:55:04 +02:00
parent 3d1d8e1013
commit 042160c390
2 changed files with 5 additions and 4 deletions

View File

@@ -30,10 +30,11 @@ This verifies that test workflows use `./action-name` format (local references a
- `./action-name` in `action.yml` (non-test) files must use `ivuorinen/actions/action-name@<SHA>`
- External actions must be pinned to SHA commits, not version tags
**How to get the current SHA:**
**How to get the SHA for pinning:**
```bash
git rev-parse HEAD
# After pushing, get the SHA of the latest commit on the remote
git rev-parse origin/main
```
Use this SHA when pinning internal action references after committing changes.
Use a SHA that exists on the remote. Local-only commits won't resolve when the action is used externally.

View File

@@ -1,6 +1,6 @@
---
name: validate
description: Run full validation pipeline (docs, format, lint, test)
description: Run full validation pipeline (docs, format, lint, precommit)
disable-model-invocation: true
---