Add no-retry action only if retry is activated