Integrating with GitHub teams

Cedd's Avatar

Cedd

16 Jun, 2017 12:30 PM

Hi there

I have set up GitHub team integration, I think according to the instructions, but I don't have access when I log in with my GitHub account (and neither does anybody else).

Thanks

Cedd

  1. Support Staff 1 Posted by Feodor Fitsner on 16 Jun, 2017 03:39 PM

    Feodor Fitsner's Avatar

    Hi Cedd,

    What GitHub account do you use to login and what was the last time (approx - to check logs) you tried to logged?

  2. 2 Posted by Cedd Burge on 16 Jun, 2017 04:51 PM

    Cedd Burge's Avatar

    Hi Feodor

    I logged in just now (17:45 UK time), with my GitHub account ceddlyburge (https://github.com/ceddlyburge).

    I would like to be able to see these two AppVeyor projects

    · https://ci.appveyor.com/project/RESSoftwareTeam/economic-model

    · https://ci.appveyor.com/project/RESSoftwareTeam/resenergystorage

    The team page looks like this, which I think should be sufficient

    [cid:[email blocked]]

    I have set up the webhook, and it delivered a payload and received an OK response

    Request

    Headers

    Request URL: https://ci.appveyor.com/api/github-org/webhook?id=6w1inwbqtk25dq22
    Request method: POST
    content-type: application/x-www-form-urlencoded
    Expect:
    User-Agent: GitHub-Hookshot/9adaaa0
    X-GitHub-Delivery: bb7cee50-528e-11e7-937b-eef4da2f38c5
    X-GitHub-Event: ping

    Payload
    {
      "zen": "Speak like a human.",
      "hook_id": 14412732,
      "hook": {
        "type": "Organization",
        "id": 14412732,
        "name": "web",
        "active": true,
        "events": [
          "member",
          "membership",
          "organization",
          "team",
          "team_add"
        ],
        "config": {
          "content_type": "form",
          "insecure_ssl": "0",
          "url": "https://ci.appveyor.com/api/github-org/webhook?id=6w1inwbqtk25dq22"
        },
        "updated_at": "2017-06-16T12:24:24Z",
        "created_at": "2017-06-16T12:24:24Z",
        "url": "https://api.github.com/orgs/resgroup/hooks/14412732",
        "ping_url": "https://api.github.com/orgs/resgroup/hooks/14412732/pings"
      },
      "organization": {
        "login": "resgroup",
        "id": 10728847,
        "url": "https://api.github.com/orgs/resgroup",
        "repos_url": "https://api.github.com/orgs/resgroup/repos",
        "events_url": "https://api.github.com/orgs/resgroup/events",
        "hooks_url": "https://api.github.com/orgs/resgroup/hooks",
        "issues_url": "https://api.github.com/orgs/resgroup/issues",
        "members_url": "https://api.github.com/orgs/resgroup/members{/member}",
        "public_members_url": "https://api.github.com/orgs/resgroup/public_members{/member}",
        "avatar_url": "https://avatars3.githubusercontent.com/u/10728847?v=3",
        "description": ""
      },
      "sender": {
        "login": "ceddlyburge",
        "id": 13573831,
        "avatar_url": "https://avatars2.githubusercontent.com/u/13573831?v=3",
        "gravatar_id": "",
        "url": "https://api.github.com/users/ceddlyburge",
        "html_url": "https://github.com/ceddlyburge",
        "followers_url": "https://api.github.com/users/ceddlyburge/followers",
        "following_url": "https://api.github.com/users/ceddlyburge/following{/other_user}",
        "gists_url": "https://api.github.com/users/ceddlyburge/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/ceddlyburge/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/ceddlyburge/subscriptions",
        "organizations_url": "https://api.github.com/users/ceddlyburge/orgs",
        "repos_url": "https://api.github.com/users/ceddlyburge/repos",
        "events_url": "https://api.github.com/users/ceddlyburge/events{/privacy}",
        "received_events_url": "https://api.github.com/users/ceddlyburge/received_events",
        "type": "User",
        "site_admin": false
      }
    }

    Response
    [cid:[email blocked]]
    Thanks!

    Cedd Burge
    Software Developer Lead

    D +44 1923 299 497
    [email blocked]<mailto:[email blocked]> | www.res-group.com<http://www.res-group.com/>

    [cid:[email blocked]]<http://www.res-group.com/> [cid:[email blocked]] <https://www.linkedin.com/company/res-group> [cid:[email blocked]] <https://twitter.com/RESGroup> [cid:[email blocked]] <https://www.youtube.com/c/RESGroupVideo>

    Home Safe - Every Day

    Renewable Energy Systems Limited, registered in England and Wales with Company Number 1589961
    Registered Office: Beaufort Court, Egg Farm Lane, Kings Langley, Hertfordshire WD4 8LR

  3. Support Staff 3 Posted by Feodor Fitsner on 16 Jun, 2017 05:42 PM

    Feodor Fitsner's Avatar

    When you are logging in with GitHub button and ceddlyburge username do you see RESSoftwareTeam account in the dropdown on login page? Or if you don't see a dropdown what account are you getting logged in (can see on https://ci.appveyor.com/account page)?

  4. Support Staff 4 Posted by Feodor Fitsner on 16 Jun, 2017 05:59 PM

    Feodor Fitsner's Avatar

    Also, make sure you are not the member of both resgroup/Software and resgroup/Storage GitHub teams as this case AppVeyor "does not know" what role to assign.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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