We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fe5b1c5 + 8d822cd commit 35f4a34Copy full SHA for 35f4a34
api/python/building-a-ci-server/requirements.txt
@@ -1 +1 @@
1
-pyramid==1.5.4
+pyramid==1.9.2
api/python/building-a-ci-server/server.py
@@ -39,6 +39,11 @@ def payload_pull_request(self):
39
# do busy work...
40
return "nothing to pull request payload" # or simple {}
41
42
+ @view_config(header="X-Github-Event:ping")
43
+ def payload_push_ping(self):
44
+ """This method is responding to a webhook ping"""
45
+ return {'ping': True}
46
+
47
48
if __name__ == "__main__":
49
config = Configurator()
0 commit comments