mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted.git
synced 2026-03-10 12:13:11 -05:00
Validate pull requests with Travis #3998
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @awesome-bot on GitHub (Dec 18, 2015).
Hello, I wrote a tool that can validate README links (valid URLs, not duplicate). It can be run when someone submits a pull request.
It is currently being used by
Examples
If you are interested, connect this repo to https://travis-ci.org/ and add a
.travis.ymlfile to the project.See https://github.com/dkhamsing/awesome_bot for options, more information
Feel free to leave a comment 😄
@Kickball commented on GitHub (Dec 18, 2015):
While this seems like a great idea, I could see a problem that if any of the links within the project die (turn into 404s) it will stop all pull requests until that link is removed.
I'd like to see what @nodiscc thinks.
@awesome-bot commented on GitHub (Dec 18, 2015):
@Kickball well yeah it would show as having failed but it does not affect if you can merge or not.. that is separate
You should however review the script findings and see if any results warrant an action (remove projects that have been deleted, or update links).
A possible flow would be:
@Kickball commented on GitHub (Dec 18, 2015):
What I'd prefer would be this to be run as an external script (not attached to the pull request process), which will run on a set day (say Monday as our other script does #63) and will create an issue listing any dead/redirected sites in the repo.
@awesome-bot commented on GitHub (Dec 18, 2015):
Yeah that is a good idea.. Travis integration assumes there is a low traffic of pull requests
@arylatt commented on GitHub (Jan 25, 2016):
This functionality has been taken care of in the Awesome-Selfhosted Scanner. See #63 for more details.