Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CI fixes
  • Loading branch information
dsyme committed Jun 8, 2026
commit 034582ee3c28b16a12740bcd2edfd4fada8529b5
2 changes: 1 addition & 1 deletion actions/setup/js/apply_samples.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ async function fetchPullRequestHeadRef({ owner, repo, pullNumber }) {
core.warning(`apply_samples: GET ${url} returned HTTP ${resp.status}`);
return null;
}
const body = /** @type {{head?: {ref?: string}}} */ (await resp.json());
const body = /** @type {{head?: {ref?: string}}} */ await resp.json();
const ref = body && body.head && typeof body.head.ref === "string" ? body.head.ref : null;
return ref || null;
} catch (err) {
Expand Down
Loading