GitHub team integration and webhook

AirQuick's Avatar

AirQuick

15 May, 2019 05:04 PM

We've set up GitHub team integration at https://ci.appveyor.com/github-teams .

There, now we see this description:

GitHub organization webhook URL

Configure webhook with the following URL for your GitHub organization to notify AppVeyor about team membership changes:

https://ci.appveyor.com/api/github-org/webhook?id=...

How shall we configure this webhook?
I looked up https://www.appveyor.com/docs/team-setup/#github-integration and couldn't find the relevant info.

Thanks.

  1. Support Staff 1 Posted by Owen McDonnell on 15 May, 2019 09:54 PM

    Owen McDonnell's Avatar

    You can go to https://github.com/organizations/<your_organization>/settings/hooks and hit Add Webhook button.

  2. 2 Posted by AirQuick on 16 May, 2019 12:56 AM

    AirQuick's Avatar

    Thanks. After hitting Add webhook buttion, what to do with Which events would you like to trigger this webhook? section? Only memberships event should be selected?

  3. Support Staff 3 Posted by Owen McDonnell on 16 May, 2019 03:23 AM

    Owen McDonnell's Avatar

    You could trigger a build on additions or removals to your team membership, but that sounds pretty unorthodox.

    Typically, users want to build on pushes and perhaps pull requests.

  4. 4 Posted by AirQuick on 16 May, 2019 03:54 AM

    AirQuick's Avatar

    Yeah, but this is GitHub team integration, not the usual push/pr integration. And the AppVeyor control panel says, "Configure webhook with the following URL for your GitHub organization to notify AppVeyor about team membership changes". So I'm wondering.

  5. Support Staff 5 Posted by Owen McDonnell on 16 May, 2019 05:07 AM

    Owen McDonnell's Avatar

    Sorry for a silly hasty response.... Of course you are correct.
    This is account level webhook for membership, so yes I believe memberships event is all that should be necessary.

  6. 6 Posted by AirQuick on 16 May, 2019 05:33 AM

    AirQuick's Avatar

    Thanks for the insight.

  7. Owen McDonnell closed this discussion on 18 May, 2019 12:20 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