Stop the Raiding

Stop the Raiding at (Location Name) is a Minutemen radiant quest in Fallout 4. This quest can be started randomly when speaking to Preston Garvey or listening to Radio Freedom.

Detailed walkthrough
Because there are hundreds of possible combinations of settlement and raider location, a detailed walkthrough is not possible. However, all of them follow the same fairly simple pattern of "talk to the settlement leader, clear the raiders from the location given, talk to the settlement leader again, talk to Preston Garvey".

Bugs
The option to say that the targeted location has been previously cleared won't appear, along with the quest marker, preventing the quest completion. Clearing the location anyways won't fix this.
 * This can be fixed by running in the console.

ru:Поселение: отразить атаку рейдеров uk:Поселення: відбити атаку рейдерів 阻止劫掠