spets 0.1.12 → 0.1.14

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.
Files changed (2) hide show
  1. package/dist/index.js +8 -14
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -326,11 +326,6 @@ jobs:
326
326
  fetch-depth: 1
327
327
  persist-credentials: false
328
328
 
329
- - name: Setup Git
330
- run: |
331
- git config user.name "github-actions[bot]"
332
- git config user.email "github-actions[bot]@users.noreply.github.com"
333
-
334
329
  - name: Parse Issue body
335
330
  id: parse
336
331
  env:
@@ -350,7 +345,7 @@ jobs:
350
345
 
351
346
  - name: Create and checkout branch
352
347
  run: |
353
- git remote set-url origin https://x-access-token:${gh("secrets.PAT_TOKEN")}@github.com/${gh("github.repository")}.git
348
+ git remote set-url origin https://x-access-token:${gh("secrets.GITHUB_TOKEN")}@github.com/${gh("github.repository")}.git
354
349
  git checkout -b ${gh("steps.parse.outputs.branch")}
355
350
  git push -u origin ${gh("steps.parse.outputs.branch")}
356
351
 
@@ -392,7 +387,9 @@ jobs:
392
387
 
393
388
  - name: Push changes
394
389
  run: |
395
- git remote set-url origin https://x-access-token:${gh("secrets.PAT_TOKEN")}@github.com/${gh("github.repository")}.git
390
+ git config user.name "github-actions[bot]"
391
+ git config user.email "github-actions[bot]@users.noreply.github.com"
392
+ git remote set-url origin https://x-access-token:${gh("secrets.GITHUB_TOKEN")}@github.com/${gh("github.repository")}.git
396
393
  git add -A
397
394
  git diff --staged --quiet || git commit -m "Spets: Start workflow for #${gh("github.event.issue.number")}"
398
395
  git push
@@ -469,11 +466,6 @@ jobs:
469
466
  fetch-depth: 1
470
467
  persist-credentials: false
471
468
 
472
- - name: Setup Git
473
- run: |
474
- git config user.name "github-actions[bot]"
475
- git config user.email "github-actions[bot]@users.noreply.github.com"
476
-
477
469
  - name: Setup Node.js
478
470
  uses: actions/setup-node@v4
479
471
  with:
@@ -508,11 +500,13 @@ jobs:
508
500
  env:
509
501
  COMMENT: ${gh("github.event.comment.body")}
510
502
  CLAUDE_CODE_OAUTH_TOKEN: ${gh("secrets.CLAUDE_CODE_OAUTH_TOKEN")}
511
- GH_TOKEN: ${gh("secrets.PAT_TOKEN")}
503
+ GH_TOKEN: ${gh("secrets.GITHUB_TOKEN")}
512
504
 
513
505
  - name: Push changes
514
506
  run: |
515
- git remote set-url origin https://x-access-token:${gh("secrets.PAT_TOKEN")}@github.com/${gh("github.repository")}.git
507
+ git config user.name "github-actions[bot]"
508
+ git config user.email "github-actions[bot]@users.noreply.github.com"
509
+ git remote set-url origin https://x-access-token:${gh("secrets.GITHUB_TOKEN")}@github.com/${gh("github.repository")}.git
516
510
  git add -A
517
511
  git diff --staged --quiet || git commit -m "Spets: Update from #${gh("github.event.issue.number")}"
518
512
  git push
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spets",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "description": "Spec Driven Development Execution Framework",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",