mirror of
https://github.com/xr843/Master-skill.git
synced 2026-05-10 13:26:25 +00:00
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) <noreply@anthropic.com>
This commit is contained in:
@@ -45,7 +45,7 @@ jobs:
|
|||||||
|
|
||||||
await github.rest.issues.create({
|
await github.rest.issues.create({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.name,
|
repo: context.repo.repo,
|
||||||
title: `[Weekly] FoJin links need update — ${updates} URLs, ${failed} missing`,
|
title: `[Weekly] FoJin links need update — ${updates} URLs, ${failed} missing`,
|
||||||
body: `Automated weekly link verification found changes.\n\n` +
|
body: `Automated weekly link verification found changes.\n\n` +
|
||||||
`- **URL replacements needed:** ${updates}\n` +
|
`- **URL replacements needed:** ${updates}\n` +
|
||||||
|
|||||||
Reference in New Issue
Block a user