Previously, github webhook receiver was returning a 400 HTTP error code
for a ping event which can be confusing for users so ensure to return
a 200 HTTP code.
Related to T4548
Differential D8867
save_origin_webhooks: Handle github ping event anlambert on Nov 21 2022, 4:46 PM. Authored by Tags None Subscribers None
Details
Previously, github webhook receiver was returning a 400 HTTP error code Related to T4548
Diff Detail
Event TimelineComment Actions Build has FAILED Patch application report for D8867 (id=31959)Rebasing onto 01e50d60cd... Current branch diff-target is up to date. Changes applied before testcommit 84922dfd698b65eceaaedf2fc3cbfeccc792f728 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Mon Nov 21 15:42:17 2022 +0100 save_origin_webhooks: Handle github ping event Previously, github webhook receiver was returning a 400 HTTP error code for a ping event which can be confusing for users so ensure to return a 200 HTTP code. Related to T4548 Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/2156/ Comment Actions Build is green Patch application report for D8867 (id=31959)Rebasing onto 01e50d60cd... Current branch diff-target is up to date. Changes applied before testcommit 84922dfd698b65eceaaedf2fc3cbfeccc792f728 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Mon Nov 21 15:42:17 2022 +0100 save_origin_webhooks: Handle github ping event Previously, github webhook receiver was returning a 400 HTTP error code for a ping event which can be confusing for users so ensure to return a 200 HTTP code. Related to T4548 See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/2157/ for more details. |