mirror of
https://github.com/ivuorinen/actions.git
synced 2026-03-08 06:56:36 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user