This refactoring consolidates the steps in the PR check workflow, reducing redundancy and improving efficiency.
This commit introduces a new pull request (PR) check workflow that includes Gitleaks for security scanning and lint tests to ensure code quality.