That depends on the license and what you do. Some copyleft licenses may require disclosure if you distribute modified software.
Only internal use does not usually automatically lead to such an obligation, but the precise outcome depends on the situation and license.