The toc2.py file was added as part of an unrelated commit: https://github.com/apache/infrastructure-actions/commit/350141f6e4eb9fbc7f890ab2e761b21782da40bf It looks like it might have been a mistake.