Skip to content

Add explicit permissions section to GitHub Actions workflows #90

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

Merged
merged 1 commit into from
Jun 19, 2025

Conversation

smuppand
Copy link
Contributor

This PR updates the GitHub Actions workflows under .github/workflows/ to include an explicit permissions block. This change improves security posture and follows GitHub's best practices, especially when using reusable workflows or third-party actions.

Specifically:

  • Sets minimal required permissions for actions
  • Prevents workflows from running with unnecessarily elevated privileges
  • Prepares for compatibility with future GitHub enforcement policies

Specifically:
- Sets minimal required permissions for actions
- Prevents workflows from running with unnecessarily elevated privileges
- Prepares for compatibility with future GitHub enforcement policies

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
@smuppand smuppand requested a review from vnarapar June 19, 2025 04:22
Copy link
Contributor

@vnarapar vnarapar left a comment

Choose a reason for hiding this comment

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

LGTM

@vnarapar vnarapar merged commit 25a36b1 into qualcomm-linux:main Jun 19, 2025
2 checks passed
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