From ec6f60bde18602d7995cf8108c14772452dc636d Mon Sep 17 00:00:00 2001 From: Rafael Benevides Date: Fri, 11 Sep 2026 15:17:21 -0300 Subject: [PATCH 1/4] 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. --- .github/workflows/open-prs-digest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/open-prs-digest.yml b/.github/workflows/open-prs-digest.yml index e9281f1..b9fa28f 100644 --- a/.github/workflows/open-prs-digest.yml +++ b/.github/workflows/open-prs-digest.yml @@ -18,7 +18,7 @@ jobs: id-token: write steps: - name: Checkout - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false @@ -65,7 +65,7 @@ jobs: JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} - name: Authenticate to GCP - uses: google-github-actions/auth@f112390a2df9932162083945e46d439060d66ec2 # v2.1.4 + uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093 # v3.0.0 with: credentials_json: ${{ secrets.GCP_SA_KEY }} create_credentials_file: false From 00f23033e96531afdd1a516b12f303b09b931d77 Mon Sep 17 00:00:00 2001 From: Rafael Benevides Date: Fri, 11 Sep 2026 15:19:22 -0300 Subject: [PATCH 2/4] 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. --- .github/workflows/open-prs-digest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/open-prs-digest.yml b/.github/workflows/open-prs-digest.yml index b9fa28f..701bdcc 100644 --- a/.github/workflows/open-prs-digest.yml +++ b/.github/workflows/open-prs-digest.yml @@ -68,8 +68,8 @@ jobs: uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093 # v3.0.0 with: credentials_json: ${{ secrets.GCP_SA_KEY }} - create_credentials_file: false - export_environment_variables: false + create_credentials_file: true + export_environment_variables: true - name: Resolve dynamic context in SKILL.md run: | From 1b4e1de2d989d87c15c812f0f67f87107cc3c288 Mon Sep 17 00:00:00 2001 From: Rafael Benevides Date: Fri, 11 Sep 2026 15:21:22 -0300 Subject: [PATCH 3/4] 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. --- .github/workflows/open-prs-digest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/open-prs-digest.yml b/.github/workflows/open-prs-digest.yml index 701bdcc..550f064 100644 --- a/.github/workflows/open-prs-digest.yml +++ b/.github/workflows/open-prs-digest.yml @@ -101,7 +101,7 @@ jobs: GH_TOKEN: ${{ secrets.GH_TOKEN_ORG_READ }} run: | set -euo pipefail - ./hyperfleet-work-triage/skills/open-prs/scripts/collect-data.sh > /tmp/pr-data.json + ./hyperfleet-work-triage/skills/open-prs/scripts/collect-data.sh > pr-data.json - name: Run /open-prs via Claude uses: anthropics/claude-code-action@6dcf93138bbf3e264225a6c7ceecd5aa2205469d # v1.0.221 @@ -109,7 +109,7 @@ jobs: with: use_vertex: "true" prompt: | - Process the collected PR data from /tmp/pr-data.json. + Process the collected PR data from pr-data.json. Follow SKILL.md instructions: pipe through score.jq, classify Factor 4 for each PR, then pipe through format-output.jq with --arg mode slack. Output ONLY the final Slack mrkdwn content — no surrounding explanation or code blocks. From b82db2ff0142759d21f2abd7a79585ac3a180485 Mon Sep 17 00:00:00 2001 From: Rafael Benevides Date: Fri, 11 Sep 2026 15:23:47 -0300 Subject: [PATCH 4/4] fix: add Bash tool and simplify Claude prompt for skill execution The /open-prs skill needs Bash access to run jq pipelines. Updated prompt to invoke the skill directly rather than giving step-by-step instructions. --- .github/workflows/open-prs-digest.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/open-prs-digest.yml b/.github/workflows/open-prs-digest.yml index 550f064..b8ee778 100644 --- a/.github/workflows/open-prs-digest.yml +++ b/.github/workflows/open-prs-digest.yml @@ -109,11 +109,10 @@ jobs: with: use_vertex: "true" prompt: | - Process the collected PR data from pr-data.json. - Follow SKILL.md instructions: pipe through score.jq, - classify Factor 4 for each PR, then pipe through format-output.jq with --arg mode slack. + Execute the /open-prs skill to process PR data and return formatted Slack output. + The collected PR data is in pr-data.json. Output ONLY the final Slack mrkdwn content — no surrounding explanation or code blocks. - claude_args: "--append-system-prompt-file ./hyperfleet-work-triage/skills/open-prs/SKILL.md.resolved --allowedTools Read,Glob,Grep --model claude-haiku-4-5@20251001" + claude_args: "--append-system-prompt-file ./hyperfleet-work-triage/skills/open-prs/SKILL.md.resolved --allowedTools Read,Glob,Grep,Bash --model claude-haiku-4-5@20251001" env: ANTHROPIC_VERTEX_PROJECT_ID: ${{ secrets.ANTHROPIC_VERTEX_PROJECT_ID }} CLOUD_ML_REGION: global