File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 204
204
matrix (0.4.2 )
205
205
method_source (1.1.0 )
206
206
mini_mime (1.1.5 )
207
- mini_portile2 (2.8.8 )
207
+ mini_portile2 (2.8.9 )
208
208
minitest (5.25.4 )
209
209
multi_xml (0.7.1 )
210
210
bigdecimal (~> 3.1 )
221
221
net-smtp (0.5.0 )
222
222
net-protocol
223
223
nio4r (2.7.4 )
224
- nokogiri (1.18.8 )
224
+ nokogiri (1.18.9 )
225
225
mini_portile2 (~> 2.8.2 )
226
226
racc (~> 1.4 )
227
227
octokit (4.20.0 )
413
413
daemons (~> 1.0 , >= 1.0.9 )
414
414
eventmachine (~> 1.0 , >= 1.0.4 )
415
415
rack (>= 1 , < 3 )
416
- thor (1.3.2 )
416
+ thor (1.4.0 )
417
417
tilt (2.4.0 )
418
418
timecop (0.9.10 )
419
419
timeout (0.4.3 )
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ def repo_host_post_commit_hook
22
22
head :ok and return
23
23
end
24
24
25
- if webhook_filter . github_app_webhook?
26
- signature = repo_host_request . headers [ "X-Hub-Signature-256" ]
25
+ if webhook_filter . github_app_webhook? || webhook_filter . github_app_installation_webhook?
26
+ signature = repo_host_request . headers [ "X-Hub-Signature-256" ] || ""
27
27
secret = Semaphore ::GithubApp ::Credentials . github_app_webhook_secret
28
28
29
29
if Semaphore ::GithubApp ::Hook . webhook_signature_valid? ( secret , signature , repo_host_request . body . string ) != :ok
You canβt perform that action at this time.
0 commit comments