GitHub ActionsでError: fatal: repository not foundと出る時は、パーミッションが足りないのが原因かもしれません。 自分はこういう風に書いたら治りました。 permissions: に contents:read を追加してみてください。