Skip to content

chore(ci): improve security through specific permissions#1856

Merged
webpro merged 1 commit into
webpro-nl:mainfrom
trueberryless:chore/ci-improve-permissions
Jul 4, 2026
Merged

chore(ci): improve security through specific permissions#1856
webpro merged 1 commit into
webpro-nl:mainfrom
trueberryless:chore/ci-improve-permissions

Conversation

@trueberryless

Copy link
Copy Markdown
Contributor

Description

This PR sets more specific permissions in the GitHub workflows, so that they are as minimal as possible for security reasons.

Discussed in #1849

@pkg-pr-new

pkg-pr-new Bot commented Jul 4, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/knip@1856
npm i https://pkg.pr.new/@knip/language-server@1856
npm i https://pkg.pr.new/@knip/mcp@1856

commit: 1a79509

@webpro
webpro merged commit 1eb42e6 into webpro-nl:main Jul 4, 2026
30 checks passed
@webpro

webpro commented Jul 4, 2026

Copy link
Copy Markdown
Member

Thanks a lot! Good hardening we needed.

@trueberryless
trueberryless deleted the chore/ci-improve-permissions branch July 4, 2026 15:19
@webpro

webpro commented Jul 7, 2026

Copy link
Copy Markdown
Member

🚀 This pull request is included in v6.25.0. See Release 6.25.0 for release notes.

Using Knip in a commercial project? Please consider becoming a sponsor.

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