Requirement is --> While merging from one branch (dev) to other branch (release), we certainly want to do basic code quality checks with the help of Pylint. We need to automate these pylint checks, once Pull request (PR) is raised for the reviewer.So that once pylint checks are passed then, it will trigger a Jenkins build for further processing. Please let me know how to configure in github for the above requirement?
I find two actions for pylint from GitHub Marketplace, you can try using these actions in your workflow to do pylint check.
You can create a workflow for Pull request event, and setup two jobs in this workflow.
Related docs as reference: