This PR adds the possibility to trigger a CI on every commit received. It is now possible in the CI settings to choose to enable the CI hook for only PRs, only commits or both.
The next steps will be to add the possibility to trigger different jobs for PRs or commits, then add a REST API to trigger the CI using a script and finally add the possibility to restrict the commit trigger on specific branch, for example only trigger on the master branch.
Note : Once these changes are deployed, it will require the current users of the hook to reconfigure the settings.
This PR adds the possibility to trigger a CI on every commit received. It is now possible in the CI settings to choose to enable the CI hook for only PRs, only commits or both.
The next steps will be to add the possibility to trigger different jobs for PRs or commits, then add a REST API to trigger the CI using a script and finally add the possibility to restrict the commit trigger on specific branch, for example only trigger on the master branch.
Note : Once these changes are deployed, it will require the current users of the hook to reconfigure the settings.