You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Setup a Jenkins build which, when a push is made to a given repository/branch, Jenkins downloads that repository, applies black code formatting, and pushes the result to Github with Automatic Code Formatting notice.
Obtain the necessary access token with the permissions to make pull requests as needed.
Test build against one of our several repositories