summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/validate.yml5
-rw-r--r--AGENTS.md2
-rw-r--r--README.md6
3 files changed, 6 insertions, 7 deletions
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml
index f6096b0..4741ea8 100644
--- a/.github/workflows/validate.yml
+++ b/.github/workflows/validate.yml
@@ -22,8 +22,7 @@ jobs:
- name: Validate codecov.yml structure
run: |
set -euo pipefail
- response=$(curl -sS --fail-with-body -X POST \
+ curl -sS --fail-with-body -X POST \
--connect-timeout 10 --max-time 60 \
--data-binary @codecov.yml \
- https://codecov.io/validate)
- echo "$response"
+ https://codecov.io/validate
diff --git a/AGENTS.md b/AGENTS.md
index 8a2dc4c..fc6d9b6 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -17,5 +17,5 @@ This repo holds the **Codecov Global YAML** for the `vyos` GitHub organization.
2. Keep `codecov.yml` comment-free — Codecov strips comments on dashboard save; any
explanatory content lives here in AGENTS.md or in README.md.
3. After merge to `production`, operator pastes from
- `gh api repos/vyos/codecov/contents/codecov.yml?ref=production --jq '.content' | base64 -d`
+ `gh api 'repos/vyos/codecov/contents/codecov.yml?ref=production' -H "Accept: application/vnd.github.raw"`
into the dashboard. Repo is the source of truth; dashboard is a cache.
diff --git a/README.md b/README.md
index f8c0125..1d8a22e 100644
--- a/README.md
+++ b/README.md
@@ -18,8 +18,8 @@ delta is enumerated in the per-org delta table below — never as comments in `c
`https://codecov.io/validate`. The check must pass.
3. After merge to `production`:
```bash
- gh api repos/vyos/codecov/contents/codecov.yml?ref=production \
- --jq '.content' | base64 -d
+ gh api 'repos/vyos/codecov/contents/codecov.yml?ref=production' \
+ -H "Accept: application/vnd.github.raw"
```
Operator pastes this content into the dashboard editor (linked above), saves,
and re-opens the tab to confirm the saved content matches.
@@ -27,7 +27,7 @@ delta is enumerated in the per-org delta table below — never as comments in `c
## Paste protocol (operator)
1. Open https://app.codecov.io/account/gh/vyos/yaml in browser.
-2. Fetch the merged file via `gh api ... | base64 -d` (above).
+2. Fetch the merged file via the quoted `gh api` raw-content command (above).
3. Paste into the dashboard editor.
4. Save.
5. Re-open the dashboard tab. **Codecov strips comments** — the saved content