Skip to content

Commit 432adec

Browse files
authored
fix: move PR data file to working directory for Claude access (#92)
* fix: update all GitHub Actions to latest versions for Node.js 24 full support - Update actions/checkout from v4.2.2 to v7.0.1 - Update google-github-actions/auth from v2.1.4 to v3.0.0 These versions are fully compatible with Node.js 24 and eliminate all deprecation warnings in workflow logs. * fix: enable GCP credential file and environment variables for Claude access Claude needs access to GCP credentials to authenticate with Vertex API. Changed: - create_credentials_file: true (was false) - export_environment_variables: true (was false) This allows the google-github-actions/auth action to create the credential file and set GOOGLE_APPLICATION_CREDENTIALS so Claude can access it. * fix: move PR data file to working directory for Claude access Claude can only access files within the job's working directory (/home/runner/work/hyperfleet-claude-plugins/hyperfleet-claude-plugins). Changed data file location from /tmp/pr-data.json to pr-data.json.
1 parent cc32aab commit 432adec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/open-prs-digest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,15 @@ jobs:
101101
GH_TOKEN: ${{ secrets.GH_TOKEN_ORG_READ }}
102102
run: |
103103
set -euo pipefail
104-
./hyperfleet-work-triage/skills/open-prs/scripts/collect-data.sh > /tmp/pr-data.json
104+
./hyperfleet-work-triage/skills/open-prs/scripts/collect-data.sh > pr-data.json
105105
106106
- name: Run /open-prs via Claude
107107
uses: anthropics/claude-code-action@6dcf93138bbf3e264225a6c7ceecd5aa2205469d # v1.0.221
108108
id: claude
109109
with:
110110
use_vertex: "true"
111111
prompt: |
112-
Process the collected PR data from /tmp/pr-data.json.
112+
Process the collected PR data from pr-data.json.
113113
Follow SKILL.md instructions: pipe through score.jq,
114114
classify Factor 4 for each PR, then pipe through format-output.jq with --arg mode slack.
115115
Output ONLY the final Slack mrkdwn content — no surrounding explanation or code blocks.

0 commit comments

Comments
 (0)