...Is a native AWS Lambda function which will insert a badge to a README.md readMeFile. This was more of an experiment with Quarkus than a production ready tool.
Tatuare creates a pull request on the target repository, to do that it needs to be an authenticated GitHub account.
The GITHUB_TOKEN variable is read and inserted into the outgoing headers for GitHub API calls.
Get your very own token here: https://github.com/settings/tokens
export GITHUB_TOKEN=0000-example-token-0000
Run locally via maven:
mvn compile quarkus:dev
Simple enough, a GET request to http://localhost:8080/badge/{owner}/{repo}/{badgeToken}/{projectLink} and expect a 200 back if successful.
https://quarkus.io/guides/maven-tooling#debugging
https://quarkus.io/guides/building-native-image
Save yourself some hassle, use SDKMAN for installing graal...
Because I can't live without lombok and I don't know how to make Quarkus play nice with it, the awesome hot re-load feature of Quarkus
doesn't work and you'll need to stop/start the mvn task each change you make (like in the normal Java world) :(