This service scans PRs for URLs, verifies whether they are reachable, and reports the results in a comment.
go get
go build -o main
GITHUB_TOKEN=<your-token> ./main
mvdan.cc/xurls
- verify github signature on webhook
- move config vars to env + defaults (webhook secret, github token, port)
- use versioned dependencies
- set max number of urls from env to prevent abuse
- add some comments to code
- add unit tests for
go test
- [#2]