core
core copied to clipboard
Add check for pull requests (GitHub action)
See this example of a bad pull request which triggers a CI failure.
@kba, please merge.
This new GitHub action currently checks pull requests for whitespace issues. It can be extended to
- check for typos
- check for author names without valid name and e-mail
- check for valid signature
- more?
What formal checks for pull requests should be added?
The action code includes code from https://github.com/JensDll/should-run. That is a GitHub action which could be used to select the CI tests depending on the changes made by a pull request. For example the pull request here does not change code, so running all CI tests is not necessary and currently wasting resources.