Skip to content

security: add least-privilege permissions to Examples CI workflow#122

Merged
intel352 merged 1 commit into
mainfrom
sec/examples-ci-permissions-20260529
May 29, 2026
Merged

security: add least-privilege permissions to Examples CI workflow#122
intel352 merged 1 commit into
mainfrom
sec/examples-ci-permissions-20260529

Conversation

@intel352
Copy link
Copy Markdown
Contributor

Resolves the 2 remaining actions/missing-workflow-permissions CodeQL alerts (examples-ci.yml:19, :473).

Adds top-level permissions: contents: read. Both jobs (validate-examples, examples-overview) only check out + build/test example modules — read access is sufficient. Completes the workflow-permissions hardening started in #119.

Adds top-level 'permissions: contents: read' to examples-ci.yml. Both jobs
(validate-examples, examples-overview) only check out and build/test the
example modules, so read access is sufficient. Resolves the two
actions/missing-workflow-permissions CodeQL alerts (medium).
@codecov
Copy link
Copy Markdown

codecov Bot commented May 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@intel352 intel352 merged commit 2da516e into main May 29, 2026
24 checks passed
@intel352 intel352 deleted the sec/examples-ci-permissions-20260529 branch May 29, 2026 11:17
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.

1 participant