Automated detection of Gamma-Ray Bursts using AstroSat