Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub webhook deployment not working. #25

Closed
Codeize opened this issue Nov 3, 2022 · 5 comments
Closed

GitHub webhook deployment not working. #25

Codeize opened this issue Nov 3, 2022 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@Codeize
Copy link

Codeize commented Nov 3, 2022

Hey there team, thanks for this project, seems very cool!

An issue I've faced while trying to get setup is that the Deploy Webhook button seems to be already deployed when I go to deploy the GitHub webhook on my repo, but when I look in the Webhook settings of the GitHub repo there is no SyncLinear webhook, there is however a Discord one I use to relay events, it may be possible that it's conflicting with the setup?

I'm not sure if this is something I've broken accidentally, but I've followed the steps that were detailed so not really sure where I went astray, if it was me.

Thanks!

@tedspare tedspare self-assigned this Nov 3, 2022
@tedspare tedspare added the bug Something isn't working label Nov 3, 2022
@tedspare
Copy link
Collaborator

tedspare commented Nov 3, 2022

Thanks for the kind words, @Codeize!

The Deploy Webhook button actually checks against our DB for an existing repo (to avoid duplicate webhooks). I'll see if we can improve this by checking the GitHub API for the actual webhook.

In the meantime, is it possible someone on your team removed the webhook?

I'd be happy to remove your repo from the DB for a fresh start. If that sounds good, what's your repo called?

@Codeize
Copy link
Author

Codeize commented Nov 3, 2022

Thanks for the kind words, @Codeize!

The Deploy Webhook button actually checks against our DB for an existing repo (to avoid duplicate webhooks). I'll see if we can improve this by checking the GitHub API for the actual webhook.

In the meantime, is it possible someone on your team removed the webhook?

I'd be happy to remove your repo from the DB for a fresh start. If that sounds good, what's your repo called?

Hmmm, maybe when testing I could have messed something up, sorry for the hassle if so.

My repo is called PizzaPlace/bot, thanks, not wanting to burden you even more but perhaps a 'Delete my Data' button someplace would be helpful for scenarios such as this?
Is there anything else I need to remove or reconfigure to make sure this attempt at setup goes well?

Appreciate your fast response!

@tedspare
Copy link
Collaborator

tedspare commented Nov 3, 2022

Ah ok, this is an edge case - PizzaPlace/bot was one of the first repos in the DB, during active dev, so it was missing a webhook secret and I removed it. Not your fault!

What's your Linear team name (feel free to DM me on Twitter or edit this afterwards)? Otherwise, should be ready to try re-syncing from scratch.

Data dashboard is on the roadmap!

@Codeize
Copy link
Author

Codeize commented Nov 3, 2022

My Linear team name was changed since I first tried to setup SyncLinear, it was called Engineering I believe, now it's called Bot Engineering, the workspace is called PizzaPlace. Is this what you're after?

I also tried to re-sync and it still hasn't created the webhook GitHub-side.

@Codeize
Copy link
Author

Codeize commented Nov 4, 2022

This was resolved after quite some back and forth between myself and Ted, essentially Ted had to delete my DB data and I had to delete and recreate a few webhooks.

Really weird issue that still has no real clear explanation, but thanks for the help Ted, excited to see where this project can go :)

@Codeize Codeize closed this as completed Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants