cyber841 opened a new pull request, #18771: URL: https://github.com/apache/hudi/pull/18771
Hi Apache Hudi Team, As requested and suggested by Piotr P. Karwasz from the Apache Security Team, I am submitting this pull request to apply a security hardening improvement to the `pr_title_validation.yml` workflow. ### Change Details: - Mapped the user-controlled `github.event.pull_request.title` context variable into an environment variable (`env: PR_TITLE`). - Updated the inline shell script to reference the environment variable `$PR_TITLE` instead of direct inline expansion. This protects the project's CI/CD runner environment from potential arbitrary command execution (Command Injection) through crafted PR titles if trigger types or job permissions are ever modified in the future. Best regards, Rasul Rasulzada -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
