Police-Data-Accessibility-Project / meta

Planning our activities with issues that don't fit in a specific repository yet.
GNU General Public License v3.0
694 stars 58 forks source link

Use Jenkins to perform automatic formatting on select repositories upon push #224

Open maxachis opened 5 days ago

maxachis commented 5 days ago

Jenkins can be configured to run certain operations upon a Github push to a given repository. We can use this to perform automatic Black formatting, rather than using Github Actions to check if black would reformat anything.

This could eventually be expanded to other options, but this would be a good demonstration of the general principle of having Jenkins perform actions in response to repository pushes.

This Digital Ocean documentation will be helpful for this.

Tentative Steps