Github to detect when a file has been added to, modified or deleted from a Github repo

Is there a way for Github or Jenkins to detect when a file has been added to, modified or deleted from a Github repo so that it can trigger scripts (e.g. trigger an automatic dry-run of the proposed change in NSO for someone to review)?

If you’d like to do this I’d recommend just setting up a webhook to Jenkins and checking this for every commit made.

1 Like