Auto assign repo to pages.