harness-auto-docs 0.2.2 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,3 +34,23 @@ jobs:
34
34
  run: pnpm publish --no-git-checks
35
35
  env:
36
36
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
37
+
38
+ update-docs:
39
+ runs-on: ubuntu-latest
40
+ needs: publish # Wait for npm publish so npx@latest uses the new version
41
+
42
+ steps:
43
+ - uses: actions/checkout@v4
44
+ with:
45
+ fetch-depth: 0 # Required: fetch all tags for diff
46
+
47
+ - uses: actions/setup-node@v4
48
+ with:
49
+ node-version: '20'
50
+
51
+ - name: Generate and PR Harness Engineering docs
52
+ run: npx harness-auto-docs@latest
53
+ env:
54
+ AI_MODEL: ${{ vars.AI_MODEL || 'MiniMax-Text-01' }}
55
+ AI_API_KEY: ${{ secrets.AI_API_KEY }}
56
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "harness-auto-docs",
3
- "version": "0.2.2",
3
+ "version": "0.2.8",
4
4
  "description": "Auto-generate Harness Engineering docs on git tag",
5
5
  "type": "module",
6
6
  "bin": {