We currently only run it in the nightly pipeline. The execution difference between with and without unused code detection does not really justify only running it in the nightly pipeline.
This was the case because we were running Psalm only on changed files at the beginning instead of the whole codebase.