Skip to content

ci: Set default workflow permissions to read-only #662

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

minchai23
Copy link

Declare default permissions as read-only for all jobs in the workflow to follow the principle of least privilege. This enhances security by limiting the permissions available to the actions run within this workflow.

permissions: read-all

This change ensures that any action in this workflow can only read repository data unless explicitly granted write access. Explicit permission settings for specific jobs or steps should be used when write access is required.

Declare default permissions as read-only for all jobs in the
workflow to follow the principle of least privilege.
This enhances security by limiting the permissions available to
the actions run within this workflow.

    permissions: read-all

This change ensures that any action in this workflow can only read
repository data unless explicitly granted write access.
Explicit permission settings for specific jobs or steps should be
used when write access is required.
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