summaryrefslogtreecommitdiff
path: root/tools/upload_wptfyi.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/upload_wptfyi.js')
-rw-r--r--tools/upload_wptfyi.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/upload_wptfyi.js b/tools/upload_wptfyi.js
index d57347eb0..0b48c330c 100644
--- a/tools/upload_wptfyi.js
+++ b/tools/upload_wptfyi.js
@@ -10,9 +10,14 @@ const user = Deno.env.get("WPT_FYI_USER");
const password = Deno.env.get("WPT_FYI_PW");
const fromRawFile = Deno.args.includes("--from-raw-file");
+const dailyRun = Deno.args.includes("--daily-run");
const form = new FormData();
-form.set("labels", "master,actions");
+if (dailyRun) {
+ form.set("labels", "master,actions");
+} else {
+ form.set("labels", "actions");
+}
if (fromRawFile) {
const file = Deno.args[0];