Skip to content

ci: fix invalid permissions key in three workflows#316

Merged
thomasrockhu-codecov merged 2 commits intomainfrom
fix/github-actions-permissions-contents
Apr 3, 2026
Merged

ci: fix invalid permissions key in three workflows#316
thomasrockhu-codecov merged 2 commits intomainfrom
fix/github-actions-permissions-contents

Conversation

@thomasrockhu-codecov
Copy link
Copy Markdown
Contributor

GitHub Actions was failing workflow validation with Unexpected value 'content' because the correct permission scope is contents, not content.

Updates:

  • .github/workflows/test-api-ci.yml
  • .github/workflows/test-api-push.yml
  • .github/workflows/typedoc-manual-deploy.yml

See workflow syntax for permissions.

Made with Cursor

GitHub rejects unknown permission scopes; the correct name is contents.
Fixes invalid workflow errors for test-api-ci, test-api-push, and typedoc-manual-deploy.

Made-with: Cursor
@sentry
Copy link
Copy Markdown

sentry bot commented Apr 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.74%. Comparing base (0a52446) to head (9c1ccb4).
✅ All tests successful. No failed tests found.

Additional details and impacted files
Components Coverage Δ
Plugin core 98.05% <ø> (ø)
Rollup plugin 8.42% <ø> (ø)
Vite plugin 8.42% <ø> (ø)
Webpack plugin 56.84% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sentry
Copy link
Copy Markdown

sentry bot commented Apr 3, 2026

Bundle Report

Changes will decrease total bundle size by 7.55kB (-0.1%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
@codecov/vite-plugin-esm 1.24kB -5.15kB (-80.6%) ⬇️
@codecov/astro-plugin-esm 862 bytes -2.41kB (-73.62%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: @codecov/nextjs-webpack-plugin-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
index.d.ts (New) 1.11kB 1.11kB 100.0% 🚀
index.d.mts (Deleted) -1.11kB 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/vite-plugin-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
index.d.cts (New) 1.24kB 1.24kB 100.0% 🚀
index.mjs (Deleted) -6.39kB 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/example-astro-5-app-server-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
manifest_DBdeXPf-.mjs (New) 3.37kB 3.37kB 100.0% 🚀
manifest_CvoeAyQo.mjs (Deleted) -3.37kB 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/astro-plugin-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
index.d.ts (New) 862 bytes 862 bytes 100.0% 🚀
index.mjs (Deleted) -3.27kB 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/example-astro-app-server-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
manifest_mu41v9F3.mjs (New) 3.34kB 3.34kB 100.0% 🚀
manifest_Cevp-2Gm.mjs (Deleted) -3.34kB 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/example-next-15-app-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
server/middleware-*.js -885 bytes 36 bytes -96.09%
server/middleware-*.js 885 bytes 921 bytes 2458.33% ⚠️
static/a0rp7E99JOFre3-*.js (New) 77 bytes 77 bytes 100.0% 🚀
static/a0rp7E99JOFre3-*.js (New) 543 bytes 543 bytes 100.0% 🚀
static/4NrgN08jCZHOWREJqu1sJ/_buildManifest.js (Deleted) -543 bytes 0 bytes -100.0% 🗑️
static/4NrgN08jCZHOWREJqu1sJ/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/bundle-analyzer-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
index.d.ts (New) 2.77kB 2.77kB 100.0% 🚀
cli.d.ts (New) 342 bytes 342 bytes 100.0% 🚀
index.d.cts (Deleted) -2.77kB 0 bytes -100.0% 🗑️
cli.d.cts (Deleted) -342 bytes 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/sveltekit-plugin-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
index.d.ts (New) 891 bytes 891 bytes 100.0% 🚀
index.d.mts (Deleted) -891 bytes 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/nuxt-plugin-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
index.d.cts (New) 855 bytes 855 bytes 100.0% 🚀
index.d.ts (Deleted) -855 bytes 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/webpack-plugin-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
index.d.ts (New) 3.45kB 3.45kB 100.0% 🚀
index.d.cts (Deleted) -3.45kB 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/example-next-app-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/SPMDeeBNm7P*/_buildManifest.js (New) 224 bytes 224 bytes 100.0% 🚀
static/SPMDeeBNm7P*/_ssgManifest.js (New) 77 bytes 77 bytes 100.0% 🚀
static/5qI1ajD8kl9vq9GyPrsbx/_buildManifest.js (Deleted) -224 bytes 0 bytes -100.0% 🗑️
static/5qI1ajD8kl9vq9GyPrsbx/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️

@codecov-notifications
Copy link
Copy Markdown

codecov-notifications bot commented Apr 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

Components Coverage Δ
Plugin core 98.05% <ø> (ø)
Rollup plugin 8.42% <ø> (ø)
Vite plugin 8.42% <ø> (ø)
Webpack plugin 56.84% <ø> (ø)

📢 Thoughts on this report? Let us know!

@thomasrockhu-codecov thomasrockhu-codecov merged commit 5e53051 into main Apr 3, 2026
70 checks passed
@thomasrockhu-codecov thomasrockhu-codecov deleted the fix/github-actions-permissions-contents branch April 3, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants