ci: Fix artifact name in claude-review workflow

The name doesn't actually matter, it gets replaced with the name
of the file when not archiving. So stop passing a name and pass in
the filename as the name when downloading the artifact.
This commit is contained in:
Daan De Meyer
2026-03-18 09:11:09 +01:00
committed by Daan De Meyer
parent b29f3bbfa8
commit 2cada660de

View File

@@ -126,10 +126,11 @@ jobs:
const fs = require("fs");
fs.writeFileSync("pr-context.json", JSON.stringify(prContext));
# archive: false makes upload-artifact use the file's basename
# (pr-context.json) as the artifact name, ignoring the name input.
- name: Upload PR context
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
with:
name: pr-context
path: pr-context.json
archive: false
@@ -158,7 +159,7 @@ jobs:
- name: Download PR context
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c
with:
name: pr-context
name: pr-context.json
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@8df5847569e6427dd6c4fb1cf565c83acfa8afa7