forked from wanshuiyin/Auto-claude-code-research-in-sleep
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 1.41 KB
/
Copy pathlint-skills-helpers.yml
File metadata and controls
38 lines (33 loc) · 1.41 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
name: Skills helper-resolution lint (advisory)
# Advisory CI for the helper-resolution contract documented in
# skills/shared-references/integration-contract.md §2. Fires on PRs that
# touch SKILL.md / shared-references / the lint tool itself, and reports
# any new hardcoded `python3 tools/<helper>.py` / `bash tools/<helper>.sh`
# references. The lint always exits 0 (advisory only), so this workflow
# never blocks a PR; reviewers see the report in the Actions output and
# can ask the author to migrate before merging.
on:
pull_request:
paths:
- 'skills/**/*.md'
- 'tools/lint_skills_helpers.sh'
- '.github/workflows/lint-skills-helpers.yml'
workflow_dispatch:
jobs:
lint:
name: Run advisory lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run lint_skills_helpers.sh
run: bash tools/lint_skills_helpers.sh
- name: Summary
if: always()
run: |
echo "## Advisory lint summary" >> "$GITHUB_STEP_SUMMARY"
echo "" >> "$GITHUB_STEP_SUMMARY"
echo "This is an advisory check — it does not fail CI." >> "$GITHUB_STEP_SUMMARY"
echo "See the previous step's log for any flagged \`tools/<helper>\` references." >> "$GITHUB_STEP_SUMMARY"
echo "Migration guidance: \`skills/shared-references/integration-contract.md\` §2." >> "$GITHUB_STEP_SUMMARY"