How can I allow anybody trigger a re-build on a public project?

Hello,

Our contributors (PowerShell GitHub org) face a problem:
Rarely AppVeyor builds fails / hangs and just need to be re-triggered.
Example: https://ci.appveyor.com/project/PowerShell/xexchange/build/1.6.140.0

Only members of our org can re-trigger them currently. And I cannot find a right way to setup permissions to allow it to anyone.
There is a workaround: a dummy commit that will re-trigger it. But it's pretty inconvenient.
I'd like to give everybody ability to re-trigger build. Is it possible?

-Sergei

  1. Hi Sergei,

    What do you mean by everybody - any unauthenticated user?

  2. Yes

  3. Well, that's pretty bold :)

    Basically, you can do a very simple page with huge "Re-build me" button calling AppVeyor API and host it on Azure Websites :)

  4. Why it's bold? :)
    Anybody can re-trigger build with pushing a dummy commit into their PR. So there is no "elevation of privileges".
    Well, ok, maybe re-trigger PR only build is the more correct way to put it.

    Building and hosting azure website, sure. But I just think it's a common scenario for OSS projects: you want to allow your contributors to re-trigger stuck builds. So I brought it up, because it can be beneficial for others.

  5. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:06 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions