From 6ba49597e09795dd4feea9fce1e0d8d9c02d47e9 Mon Sep 17 00:00:00 2001 From: xianren Date: Mon, 13 Apr 2026 16:13:23 +0800 Subject: [PATCH] fix(ci): use context.repo.repo instead of context.repo.name github-script's context.repo object has {owner, repo}, not {owner, name}. The typo caused the weekly Verify FoJin Links workflow to POST to repos/xr843//issues (double slash, empty repo name) and fail with 404. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/verify-links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/verify-links.yml b/.github/workflows/verify-links.yml index 8713d94..6f79231 100644 --- a/.github/workflows/verify-links.yml +++ b/.github/workflows/verify-links.yml @@ -45,7 +45,7 @@ jobs: await github.rest.issues.create({ owner: context.repo.owner, - repo: context.repo.name, + repo: context.repo.repo, title: `[Weekly] FoJin links need update — ${updates} URLs, ${failed} missing`, body: `Automated weekly link verification found changes.\n\n` + `- **URL replacements needed:** ${updates}\n` +