Posted at: 2020-11-01, 19:37
Important info for all Widelands developers
A change to our automatic code formatting bot was just merged.
The format bot will now trigger a new testsuite build whenever it pushes to a PR branch. But it can only do this for branches in your fork if you help him! Everyone please create a Personal Access Token with (at least) the
public_repo permission, and add this as a secret named
WIDELANDS_FORMAT_TOKEN to your fork.
Create a Personal Access Token in your profile (https://github.com/settings/tokens). Select the scope
Repo → public_repo for the new token. The token's note does not matter (use e.g. "Widelands Formatting Bot"). Copy the token's hash.
Create a secret in your widelands fork (
https://github.com/<username>/widelands/settings/secrets). The secret must be named
WIDELANDS_FORMAT_TOKEN. Its value must be the hash of the token you just created.
More information about Personal Access Tokens may be found here. More information about secrets may be found here.
This change affects everyone who contributes C++, Lua and/or Python code to the