Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(lint-pr): reduce permissions to minimum #1409

Merged
merged 2 commits into from May 4, 2022
Merged

ci(lint-pr): reduce permissions to minimum #1409

merged 2 commits into from May 4, 2022

Conversation

Fdawgs
Copy link
Contributor

@Fdawgs Fdawgs commented May 3, 2022

As discussed in #1356 (comment), the use of pull_request_target here opens up a potential security hole.

Declaring the minimum permissions for this workflow to run, following principle of least privilege, negates this. See related GitHub security post regarding permissions.

Copy link
Member

@RafaelGSS RafaelGSS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina merged commit c3da945 into nodejs:main May 4, 2022
@Fdawgs Fdawgs deleted the ci/permissions branch May 4, 2022 07:10
KhafraDev pushed a commit to KhafraDev/undici that referenced this pull request Jun 23, 2022
metcoder95 pushed a commit to metcoder95/undici that referenced this pull request Dec 26, 2022
crysmags pushed a commit to crysmags/undici that referenced this pull request Feb 27, 2024
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.

None yet

3 participants