@codyswann/lisa 1.54.5 → 1.54.6

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.
package/package.json CHANGED
@@ -72,7 +72,7 @@
72
72
  "axios": ">=1.13.5"
73
73
  },
74
74
  "name": "@codyswann/lisa",
75
- "version": "1.54.5",
75
+ "version": "1.54.6",
76
76
  "description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
77
77
  "main": "dist/index.js",
78
78
  "exports": {
@@ -15,54 +15,12 @@ permissions:
15
15
  id-token: write
16
16
 
17
17
  jobs:
18
- update-all-prs:
19
- name: Update open PRs targeting ${{ github.event.client_payload.ref_name }}
20
- if: github.event.action == 'auto-update-pr-branches'
21
- runs-on: ubuntu-latest
22
- steps:
23
- - name: Checkout
24
- uses: actions/checkout@v6
25
-
26
- - name: Update all open PR branches
27
- uses: anthropics/claude-code-action@v1
28
- continue-on-error: true
29
- with:
30
- claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
31
- prompt: |
32
- Update all open pull request branches targeting "${{ github.event.client_payload.ref_name }}" in "${{ github.event.client_payload.repo_full_name }}".
33
-
34
- Run this command:
35
- ```bash
36
- prs=$(gh pr list --repo "${{ github.event.client_payload.repo_full_name }}" --base "${{ github.event.client_payload.ref_name }}" --state open --json number --jq '.[].number')
37
- for pr in $prs; do
38
- echo "Updating PR #$pr..."
39
- gh api -X PUT "repos/${{ github.event.client_payload.repo_full_name }}/pulls/$pr/update-branch" -f update_method=merge || echo "PR #$pr update failed or already up to date"
40
- done
41
- ```
42
- claude_args: |
43
- --allowedTools "Bash(*)"
44
- --max-turns 3
45
-
46
- update-single-pr:
47
- name: Update PR #${{ github.event.client_payload.pr_number }}
48
- if: github.event.action == 'auto-update-pr-branch'
49
- runs-on: ubuntu-latest
50
- steps:
51
- - name: Checkout
52
- uses: actions/checkout@v6
53
-
54
- - name: Update PR branch
55
- uses: anthropics/claude-code-action@v1
56
- continue-on-error: true
57
- with:
58
- claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
59
- prompt: |
60
- Update pull request #${{ github.event.client_payload.pr_number }} branch in "${{ github.event.client_payload.repo_full_name }}".
61
-
62
- Run this command:
63
- ```bash
64
- gh api -X PUT "repos/${{ github.event.client_payload.repo_full_name }}/pulls/${{ github.event.client_payload.pr_number }}/update-branch" -f update_method=merge
65
- ```
66
- claude_args: |
67
- --allowedTools "Bash(*)"
68
- --max-turns 3
18
+ dispatch:
19
+ uses: CodySwannGT/lisa/.github/workflows/reusable-auto-update-pr-branches-dispatch.yml@main
20
+ with:
21
+ action: ${{ github.event.action }}
22
+ ref_name: ${{ github.event.client_payload.ref_name || '' }}
23
+ repo_full_name: ${{ github.event.client_payload.repo_full_name }}
24
+ pr_number: ${{ github.event.client_payload.pr_number || 0 }}
25
+ secrets:
26
+ CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}