Describe the bug
Currently check license and history workflow triggered by a PR and compares pull_request.base.sha to pull_request.head.sha, therefore it can not be used for comparing files added or changed in a commit.
Need to add a comparison of a commit to the base to allow manually triggering this workflow for checking commits.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
System (please complete the following information):
OS: [e.g. RHEL8.6]
Hardware [e.g. Intel Xeon Ice Lake, 64GB, NVMe]
Additional context
Add any other context about the problem here.
Describe the bug Currently check license and history workflow triggered by a PR and compares pull_request.base.sha to pull_request.head.sha, therefore it can not be used for comparing files added or changed in a commit. Need to add a comparison of a commit to the base to allow manually triggering this workflow for checking commits.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
System (please complete the following information):
Additional context Add any other context about the problem here.