You can act on push events. GitHub would have to notify Jenkins of the event.
https://developer.github.com/v3/activity/events/types/ https://developer.github.com/webhooks/ On Sat, May 4, 2019 at 07:49 Renato Marcandier <renato.marcand...@gmail.com> wrote: > 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)? > > Renato Marcandier > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CAGbJOOgGyvyYkD7BVLymibgMNkxfF3hD_ExzDwfo9-cwQrPwsg%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAGbJOOgGyvyYkD7BVLymibgMNkxfF3hD_ExzDwfo9-cwQrPwsg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9Jrrxdyu6eu5r6Kt-xonMXixQbaYmuXtdbDGwtYXCmFtw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.