Skip to content

Commit 407827a

Browse files
committed
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
1 parent f4b77d0 commit 407827a

File tree

1 file changed

+29
-24
lines changed

1 file changed

+29
-24
lines changed

testing/web-platform/tests/tools/ci/tag_master.py

+29-24
Original file line numberDiff line numberDiff line change
@@ -981,6 +981,21 @@
981981
(
982982
f
983983
)
984+
985+
logger
986+
.
987+
info
988+
(
989+
json
990+
.
991+
dumps
992+
(
993+
event
994+
indent
995+
=
996+
2
997+
)
998+
)
984999

9851000
if
9861001
"
@@ -1033,12 +1048,20 @@
10331048
Not
10341049
tagging
10351050
for
1036-
non
1037-
-
1038-
master
1039-
branch
1051+
ref
1052+
%
1053+
s
1054+
"
1055+
%
1056+
event
1057+
.
1058+
get
1059+
(
1060+
"
1061+
ref
10401062
"
10411063
)
1064+
)
10421065

10431066
return
10441067
False
@@ -1057,30 +1080,12 @@
10571080
GITHUB_REPOSITORY
10581081
"
10591082

1060-
should_run
1061-
=
1062-
should_run_action
1063-
(
1064-
)
1065-
10661083
if
10671084
not
1068-
should_run
1069-
:
1070-
1071-
logger
1072-
.
1073-
info
1085+
should_run_action
10741086
(
1075-
"
1076-
Not
1077-
tagging
1078-
master
1079-
for
1080-
this
1081-
push
1082-
"
10831087
)
1088+
:
10841089

10851090
return
10861091

0 commit comments

Comments
 (0)