Gitlab BOT

How can I create a bot for the Gitlab CI, which will automatically get invoked and list all the variables and methods in the class which is committed?