Skip to content

Commit

Permalink
Merge pull request #1
Browse files Browse the repository at this point in the history
verify signature when receive webhook
  • Loading branch information
cgalibern authored Sep 12, 2021
2 parents 046d2bd + 0e7971d commit 0e11344
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controllers/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
job_factory = JobFactory()


#@verify
@verify
def pull_request(body):
return job_factory.create(context_lib_name='github_pull_request', payload=body).run()


#@verify
@verify
def push(body):
return job_factory.create(context_lib_name='github_push', payload=body).run()

0 comments on commit 0e11344

Please sign in to comment.