Replace run_on_changes with run_on_modifications

so that the action gets run only once.