From 891bdb7189a601de849903daa4011fcd3f70f873 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Fri, 4 Oct 2019 14:49:04 +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: 8879e7c9fbd007093cae6d7c4d9014760648ab40 --- .../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 04acb1f182dec..b77c13f8c9c8d 100644 --- a/testing/web-platform/tests/tools/ci/tag_master.py +++ b/testing/web-platform/tests/tools/ci/tag_master.py @@ -961,6 +961,21 @@ ( f ) + +logger +. +info +( +json +. +dumps +( +event +indent += +2 +) +) if " @@ -1013,12 +1028,20 @@ Not tagging for -non -- -master -branch +ref +% +s +" +% +event +. +get +( +" +ref " ) +) return False @@ -1037,30 +1060,12 @@ GITHUB_REPOSITORY " -should_run -= -should_run_action -( -) - if not -should_run -: - -logger -. -info +should_run_action ( -" -Not -tagging -master -for -this -push -" ) +: return