summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-10 23:32:08 +0300
committerYuriy Andamasov <yuriy@vyos.io>2026-05-10 23:32:08 +0300
commitf54e6b724888a3dda3be67817cc5ba086f6dec0a (patch)
treec8350b9e6c47177c12ac3274ca2cc489c00ccb72 /.github
parent9e44387fa1b8fc006146b9fb774e6316101033e6 (diff)
downloadvyos-documentation-f54e6b724888a3dda3be67817cc5ba086f6dec0a.tar.gz
vyos-documentation-f54e6b724888a3dda3be67817cc5ba086f6dec0a.zip
ci: drop leading slash in Context7 libraryName
Context7's API expects the bare repo identifier 'vyos/vyos-documentation' (verified at https://context7.com/vyos/vyos-documentation), not the leading-slash form. The auto-fired workflow_run cycle after #1950 / #1948 / #1949 merged returned HTTP 404 on all three variants because of the extra slash. Spec: ~/.claude/specs/2026-05-10-context7-github-actions-integration-design.md (spec narrative referenced Codex's round-1 advice to use leading slash; that advice was empirically wrong against the live Context7 API). 🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/context7-refresh.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/context7-refresh.yml b/.github/workflows/context7-refresh.yml
index e7910671..09ddeae5 100644
--- a/.github/workflows/context7-refresh.yml
+++ b/.github/workflows/context7-refresh.yml
@@ -74,5 +74,5 @@ jobs:
"https://context7.com/api/v1/refresh" \
-H "Authorization: Bearer $CONTEXT7_API_KEY" \
-H "Content-Type: application/json" \
- -d "$(jq -nc --arg lib "/${{ github.repository }}" --arg br "$VARIANT" \
+ -d "$(jq -nc --arg lib "${{ github.repository }}" --arg br "$VARIANT" \
'{libraryName: $lib, branch: $br}')"