slack github integration doesn't find wiki rep

2019-09-14 15:18发布

问题:

I'm trying to add a GitHub slack integration (https://slack.com/apps/A0F7YS2SX-github) that will post whenever a change is made to our repository's GitHub wiki. I can log in to GitHub just fine and I see my repositories, but I don't see the repository for the wiki. The wiki is an actual repository; I can clone it and view its history and everything. For example, if my repository were called myRepo, the wiki would be myRepo.wiki. But I only see myRepo in the list of repositories the integration can watch.

I've tried adding an integration that watches myRepo. It successfully messages the channel I selected whenever somebody pushes changes to myRepo, but it doesn't do so whenever changes are made to the wiki. I'm guessing that's because they really are two separate repositories.

Is there a way to get the GitHub integration to be able to watch the repository for the wiki?

回答1:

It sounds like maybe you have the webhook set to notify on just the push event.

You may also need to select Let me select individual events. and make sure

"Gollum
Wiki page updated."

Is checked