@@ 0,0 1,22 @@
+# Notifies the lab's gitsync service that this repo has moved, so the mirror on
+# our self-hosted sourcehut updates within seconds instead of waiting for its
+# hourly safety-net poll.
+#
+# The receiver verifies the HMAC-SHA256 in X-Src-Signature over the request
+# body. The signing key is generated by SourceCraft, is not part of this file,
+# and is read once from Автоматизации -> Вебхуки into the gitsync stack's .env.
+#
+# The slug is unique per repository, but the receiver serves all mirrored repos
+# and maps slug -> signing key, so it must be unique ACROSS them too — hence the
+# suffix rather than a plain "gitsync".
+webhooks:
+ hooks:
+ - slug: gitsync-ecore
+ name: "gitsync mirror trigger"
+ description: "Triggers the phoebe gitsync service to mirror sr-ht-ecore to git.srht.bigb.es"
+ url: "https://gitsync.bigb.es/hook"
+ ssl_verification: true
+ active: true
+ on:
+ push:
+ - hooks: ["gitsync-ecore"]