Trigger a Travis-CI rebuild without pushing a commit?

后端 未结 16 2147
长发绾君心
长发绾君心 2020-12-12 08:21

Using Travis-CI, is it possible to trigger a rebuild without pushing a new commit to GitHub?

Use case: A build fails due to an externality. The source is actually co

16条回答
  •  情歌与酒
    2020-12-12 09:09

    Here's what worked for me to trigger a rebuild on a PR that Dependabot had opened, but failed due to errors in .travis.yml:

    1. Close the PR
    2. Wait for Dependabot to comment ("OK, I won't notify you again about this release, but will get in touch when a new version is available."). It will remove its branch.
    3. Restore the branch Dependabot removed (something like dependabot/cargo/tempfile-3.0.4).
    4. Open the PR again

提交回复
热议问题