From 24d547732f8e48fcc2d7dfab93f40970bfc9c8fa Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Fri, 4 Oct 2019 11:40:03 +0000 Subject: [PATCH] Bug 1539610 [wpt PR 16076] - Log GH event when tagging master, a=testonly Automatic update from web-platform-tests Log GH event when tagging master (#16076) -- wpt-commits: a960bbaf56c87d3239ec2d6476282110584079da wpt-pr: 16076 UltraBlame original commit: e20dbaca122ae7c003823f3bc32ac08bb7893b6e --- .../web-platform/tests/tools/ci/tag_master.py | 53 ++++++++++--------- 1 file changed, 29 insertions(+), 24 deletions(-) diff --git a/testing/web-platform/tests/tools/ci/tag_master.py b/testing/web-platform/tests/tools/ci/tag_master.py index 38a8b5c45c6b4..09355dc49aa6d 100644 --- a/testing/web-platform/tests/tools/ci/tag_master.py +++ b/testing/web-platform/tests/tools/ci/tag_master.py @@ -981,6 +981,21 @@ ( f ) + +logger +. +info +( +json +. +dumps +( +event +indent += +2 +) +) if " @@ -1033,12 +1048,20 @@ Not tagging for -non -- -master -branch +ref +% +s +" +% +event +. +get +( +" +ref " ) +) return False @@ -1057,30 +1080,12 @@ GITHUB_REPOSITORY " -should_run -= -should_run_action -( -) - if not -should_run -: - -logger -. -info +should_run_action ( -" -Not -tagging -master -for -this -push -" ) +: return