diff --git a/.github/workflows/wpt_epoch.yml b/.github/workflows/wpt_epoch.yml index 9fdadf1bf0..bbd064eecd 100644 --- a/.github/workflows/wpt_epoch.yml +++ b/.github/workflows/wpt_epoch.yml @@ -79,4 +79,4 @@ jobs: WPT_FYI_USER: deno WPT_FYI_PW: ${{ secrets.WPT_FYI_PW }} run: | - deno run -A --lock=tools/deno.lock.json ./tools/upload_wptfyi.js wptreport.json --from-raw-file + deno run -A --lock=tools/deno.lock.json ./tools/upload_wptfyi.js wptreport.json --from-raw-file --daily-run diff --git a/tools/upload_wptfyi.js b/tools/upload_wptfyi.js index d57347eb03..0b48c330c5 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];