I’ve several snaps build through the snapcraft.ip/…/builds page. I had thought these had a webhook installed in github, but when a build didn’t happen following changes to https://github.com/MirServer/mir-kiosk-kodi I discovered there’s no webhook on the repo, nor on the others I thought were set up this way.
Disconnecting and reconnecting the repo led to a warning message “The GitHub Webhook could not be created. Please trigger a new build manually.”
Is there a way to diagnose why the webhook cannot be created? Or a way to set it up manually?
Check your audit log on GitHub. I just ran into the same problem with https://github.com/newsboat/newsboat, and it turned out that build-snapcraft-io removed the hook from my repo a month ago. No warnings, no notifications. Pretty upsetting.
But then, disconnecting and reconnecting the repo worked for me. Could you perhaps try again? Maybe it was a transient error on Snapcraft’s side.
My new hook uses application/json, and it does have a non-empty secret, but I can’t find that secret anywhere in my snapcraft.io settings. So it appears that you can’t actually create the hook manually
The GitHub OWASP/Amass repo seems unable to receive the webhook. I am the admin for the repo, but will never receive those permissions for the organization. What can we do to successfully setup the webhook for building the ‘amass’ Snapcraft?