It would be useful to have this action working in branches different than master. I don't know how complex this would be but in the mean time i think it would be better to abort the proccess before it looks for the todos.