Skip to content

Commit

Permalink
Bug 1539610 [wpt PR 16076] - Log GH event when tagging master, a=test…
Browse files Browse the repository at this point in the history
…only

Automatic update from web-platform-tests
Log GH event when tagging master (#16076)

--

wpt-commits: a960bbaf56c87d3239ec2d6476282110584079da
wpt-pr: 16076

UltraBlame original commit: e20dbaca122ae7c003823f3bc32ac08bb7893b6e
  • Loading branch information
marco-c committed Oct 4, 2019
1 parent 860c937 commit 24d5477
Showing 1 changed file with 29 additions and 24 deletions.
53 changes: 29 additions & 24 deletions testing/web-platform/tests/tools/ci/tag_master.py
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,21 @@
(
f
)

logger
.
info
(
json
.
dumps
(
event
indent
=
2
)
)

if
"
Expand Down Expand Up @@ -1033,12 +1048,20 @@
Not
tagging
for
non
-
master
branch
ref
%
s
"
%
event
.
get
(
"
ref
"
)
)

return
False
Expand All @@ -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

Expand Down

0 comments on commit 24d5477

Please sign in to comment.