Skip to content

Commit b0eb17f

Browse files
committed
workflows
1 parent d87db5f commit b0eb17f

5 files changed

Lines changed: 36 additions & 6 deletions

File tree

.github/workflows/claude-ci-fix.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ jobs:
3535
with:
3636
run_id: ${{ github.event.workflow_run.id || inputs.run_id }}
3737
branch: ${{ github.event.workflow_run.head_branch || inputs.branch }}
38-
install_command: corepack enable && pnpm install
38+
install_command: |
39+
NODE22_BIN=$(ls -d /opt/hostedtoolcache/node/22.*/x64/bin | tail -1)
40+
echo "$NODE22_BIN" >> "$GITHUB_PATH"
41+
export PATH="$NODE22_BIN:$PATH"
42+
corepack enable
43+
pnpm install
3944
max_turns: 50
4045
team_mention: '@viamrobotics/team-viz'
4146
allowed_tools: 'Edit,Read,Write,Glob,Grep,Bash(pnpm *),Bash(npx *),Bash(node *),Bash(ls *),Bash(find *),Bash(git config *),Bash(git add *),Bash(git commit *),Bash(git push *),Bash(git status*),Bash(git diff*),Bash(git log*),Bash(git checkout *),Bash(git branch *),Bash(git rev-parse *),Bash(git fetch *)'

.github/workflows/claude-dependabot-sweep.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ jobs:
1919
# viamrobotics/claude-ci-workflows@v1.17.3
2020
uses: viamrobotics/claude-ci-workflows/.github/workflows/claude-dependabot-sweep.yml@3ad96b0ccbb5ee0d7e2cde98653fae0c453e68bb
2121
with:
22-
install_command: corepack enable && pnpm install
22+
install_command: |
23+
NODE22_BIN=$(ls -d /opt/hostedtoolcache/node/22.*/x64/bin | tail -1)
24+
echo "$NODE22_BIN" >> "$GITHUB_PATH"
25+
export PATH="$NODE22_BIN:$PATH"
26+
corepack enable
27+
pnpm install
2328
allowed_tools: 'Edit,Read,Write,Glob,Grep,Bash(pnpm install*),Bash(pnpm add*),Bash(pnpm update*),Bash(pnpm outdated*),Bash(pnpm ls*),Bash(pnpm why*),Bash(pnpm *),Bash(npx *),Bash(node *),Bash(ls *),Bash(find *),Bash(git config *),Bash(git add *),Bash(git commit *),Bash(git push *),Bash(git status*),Bash(git diff*),Bash(git log*),Bash(git checkout *),Bash(git branch *),Bash(git rev-parse *),Bash(git fetch *),Bash(gh pr create*),Bash(gh pr view*),Bash(gh issue comment*),Bash(gh issue view*)'
2429
extra_system_prompt: |
2530
### Updating JavaScript/TypeScript dependencies (pnpm)

.github/workflows/claude-github-issue.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,12 @@ jobs:
3838
title: ${{ github.event.issue.title }}
3939
body: ${{ github.event.issue.body }}
4040
issue_author: ${{ github.event.issue.user.login }}
41-
install_command: corepack enable && pnpm install
41+
install_command: |
42+
NODE22_BIN=$(ls -d /opt/hostedtoolcache/node/22.*/x64/bin | tail -1)
43+
echo "$NODE22_BIN" >> "$GITHUB_PATH"
44+
export PATH="$NODE22_BIN:$PATH"
45+
corepack enable
46+
pnpm install
4247
task_complexity: small
4348
allowed_tools: 'Edit,Read,Write,Glob,Grep,Bash(pnpm *),Bash(npx *),Bash(node *),Bash(ls *),Bash(find *),Bash(git config *),Bash(git add *),Bash(git commit *),Bash(git push *),Bash(git status*),Bash(git diff*),Bash(git log*),Bash(git checkout *),Bash(git branch *),Bash(git rev-parse *),Bash(git fetch *),Bash(gh pr create*),Bash(gh pr edit*),Bash(gh pr view*),Bash(gh pr diff*),Bash(gh issue comment*),Bash(gh issue view*)'
4449
extra_prompt: |

.github/workflows/claude-jira.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,12 @@ jobs:
6767
task_complexity: ${{ github.event.client_payload.task_complexity || inputs.task_complexity || 'small' }}
6868
assignee: ${{ github.event.client_payload.assignee || inputs.assignee || '' }}
6969
assignee_email: ${{ github.event.client_payload.assignee_email || inputs.assignee_email || '' }}
70-
install_command: corepack enable && pnpm install
70+
install_command: |
71+
NODE22_BIN=$(ls -d /opt/hostedtoolcache/node/22.*/x64/bin | tail -1)
72+
echo "$NODE22_BIN" >> "$GITHUB_PATH"
73+
export PATH="$NODE22_BIN:$PATH"
74+
corepack enable
75+
pnpm install
7176
jira_base_url: ${{ vars.JIRA_BASE_URL }}
7277
jira_user_email: ${{ vars.JIRA_USER_EMAIL }}
7378
allowed_tools: 'Edit,Read,Write,Glob,Grep,Bash(pnpm *),Bash(npx *),Bash(node *),Bash(ls *),Bash(find *),Bash(git config *),Bash(git add *),Bash(git commit *),Bash(git push *),Bash(git status*),Bash(git diff*),Bash(git log*),Bash(git checkout *),Bash(git branch *),Bash(git rev-parse *),Bash(git fetch *),Bash(gh pr create*),Bash(gh pr edit*),Bash(gh pr view*),Bash(gh pr diff*)'

.github/workflows/claude-pr-assistant.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,12 @@ jobs:
7272
pr_number: ${{ needs.resolve-pr.outputs.pr_number }}
7373
pr_title: ${{ needs.resolve-pr.outputs.pr_title }}
7474
branch: ${{ needs.resolve-pr.outputs.branch }}
75-
install_command: corepack enable && pnpm install
75+
install_command: |
76+
NODE22_BIN=$(ls -d /opt/hostedtoolcache/node/22.*/x64/bin | tail -1)
77+
echo "$NODE22_BIN" >> "$GITHUB_PATH"
78+
export PATH="$NODE22_BIN:$PATH"
79+
corepack enable
80+
pnpm install
7681
max_turns: 50
7782
allowed_tools: 'Edit,Read,Write,Glob,Grep,mcp__github_inline_comment__create_inline_comment,Bash(pnpm *),Bash(npx *),Bash(node *),Bash(ls *),Bash(find *),Bash(git config *),Bash(git add *),Bash(git commit *),Bash(git push *),Bash(git status*),Bash(git diff*),Bash(git log*),Bash(git checkout *),Bash(git branch *),Bash(git rev-parse *),Bash(git fetch *),Bash(gh pr review*),Bash(gh pr comment*),Bash(gh pr diff*),Bash(gh pr view*)'
7883
extra_review_instructions: |
@@ -105,7 +110,12 @@ jobs:
105110
# viamrobotics/claude-ci-workflows@v1.17.3
106111
uses: viamrobotics/claude-ci-workflows/.github/workflows/claude-pr-assistant.yml@3ad96b0ccbb5ee0d7e2cde98653fae0c453e68bb
107112
with:
108-
install_command: corepack enable && pnpm install
113+
install_command: |
114+
NODE22_BIN=$(ls -d /opt/hostedtoolcache/node/22.*/x64/bin | tail -1)
115+
echo "$NODE22_BIN" >> "$GITHUB_PATH"
116+
export PATH="$NODE22_BIN:$PATH"
117+
corepack enable
118+
pnpm install
109119
max_turns: 50
110120
allowed_tools: 'Edit,Read,Write,Glob,Grep,mcp__github_inline_comment__create_inline_comment,Bash(pnpm *),Bash(npx *),Bash(node *),Bash(ls *),Bash(find *),Bash(git config *),Bash(git add *),Bash(git commit *),Bash(git push *),Bash(git status*),Bash(git diff*),Bash(git log*),Bash(git checkout *),Bash(git branch *),Bash(git rev-parse *),Bash(git fetch *),Bash(gh pr review*),Bash(gh pr comment*),Bash(gh pr view*),Bash(gh pr diff*)'
111121
extra_review_instructions: |

0 commit comments

Comments
 (0)