Skip to content

This service scans PRs for URLs, verifies whether they are reachable, and reports the results in a comment.

License

Notifications You must be signed in to change notification settings

rchernobelskiy/pr-url-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

pr-url-scanner

This service scans PRs for URLs, verifies whether they are reachable, and reports the results in a comment.

To build:

go get
go build -o main

To run:

GITHUB_TOKEN=<your-token> ./main

Dependencies:

mvdan.cc/xurls

Todo items:

  • 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]

About

This service scans PRs for URLs, verifies whether they are reachable, and reports the results in a comment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages