-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
43 lines (36 loc) · 1.08 KB
/
Copy pathcheck-skills.yml
File metadata and controls
43 lines (36 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# check-skills.yml
#
# Validates @tanstack/intent skills on PRs that touch skills or artifacts.
#
# Staleness checking after a release is intentionally NOT automated here — run
# `pnpm test:intent` (which calls `intent validate && intent stale`) locally
# before cutting a release. Keeping this workflow validation-only means it
# needs zero write permissions.
name: Check Skills
on:
pull_request:
paths:
- 'skills/**'
- '**/skills/**'
- '_artifacts/**'
- '**/_artifacts/**'
workflow_dispatch: {}
permissions:
contents: read
jobs:
validate:
name: Validate intent skills
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
- name: Setup Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 20
- name: Install intent
run: npm install -g @tanstack/intent
- name: Validate skills
run: intent validate --github-summary