Skip to content

Commit d12b23d

Browse files
Copilotncrmro
andcommitted
fix: Run update script on PRs to test changes
Co-authored-by: ncrmro <[email protected]>
1 parent 84dd3b7 commit d12b23d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/update-claude-code.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@ jobs:
2828
extra_nix_config: |
2929
experimental-features = nix-command flakes
3030
31-
- name: Update claude-code package
31+
- name: Update claude-code package (test)
32+
if: github.event_name == 'pull_request'
33+
run: |
34+
# On PRs, run the update script to test it works
35+
# but don't commit or create PRs with the changes
36+
./nix/claude-code/update.sh || echo "::warning::Update script execution test failed"
37+
38+
- name: Update claude-code package (production)
3239
if: github.event_name != 'pull_request'
3340
id: update
3441
run: |

0 commit comments

Comments
 (0)