Anyway to set repo features/settings?

I have around 85 repositories that I need to import into github. I need to change some project settings like disable projects, enable automatically delete head branches even set the actions restrictions
and there seems to be no clear way to do this other than do it via the UI. Going through 85 repos to change these settings is rather tedious and time consuming.

Some help here would be great!