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

[Security Vulnerability] Run build with unit tests without elevated permissions #716

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

masivesky
Copy link
Contributor

Fix for security vulnerability:
This change prevents any external contributor to create another workflow in the PR with same name as Trigger Build which allow it to run the Build With Unit Tests with elevated permissions.

It uses Github Hosted Runners to build the surefire report with elevated permissions.

@masivesky masivesky added the build Triggers unit test build label Sep 2, 2024
@masivesky masivesky self-assigned this Sep 2, 2024
@itsankit-google itsankit-google merged commit f52bcac into develop Sep 2, 2024
3 of 4 checks passed
@itsankit-google itsankit-google deleted the sec-vuln-fix-develop branch September 2, 2024 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Triggers unit test build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants