Context: Y has just told X that he/she is considering switching his/her job.

X: Do you work on weekends?
Y: only if I have to