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

workflow: Use more secure pull_request trigger and fix SonarQube #3034

Merged
merged 2 commits into from
Aug 18, 2023

Conversation

koplo199
Copy link
Contributor

@koplo199 koplo199 commented Aug 18, 2023

For a full read: https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
For a tl;dr: Combining pull_request_target workflow trigger with an explicit checkout of an untrusted PR is a dangerous practice that may lead to repository compromise.

Additionally, fix SonarQube which basically never worked since its introduction.

@github-actions
Copy link
Contributor

Pylint result on modfied files:

@koplo199 koplo199 marked this pull request as ready for review August 18, 2023 10:25
@koplo199 koplo199 changed the title Use more secure pull_request trigger workflow: Use more secure pull_request trigger Aug 18, 2023
@koplo199 koplo199 changed the title workflow: Use more secure pull_request trigger workflow: Use more secure pull_request trigger and fix SonarQube Aug 18, 2023
@orowith2os orowith2os merged commit fbab5f1 into bottlesdevs:main Aug 18, 2023
6 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.

None yet

2 participants