From ab20f54a0adac53bda9c24e4e6f7f2f2025920c3 Mon Sep 17 00:00:00 2001 From: Tom Tang Date: Tue, 27 Aug 2024 09:18:14 +0000 Subject: [PATCH 1/3] chore(CI): make the commit author be a bot --- .github/workflows/update-mozcentral-version.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update-mozcentral-version.yaml b/.github/workflows/update-mozcentral-version.yaml index 8f95895f..acc10136 100644 --- a/.github/workflows/update-mozcentral-version.yaml +++ b/.github/workflows/update-mozcentral-version.yaml @@ -33,6 +33,7 @@ jobs: add-paths: mozcentral.version commit-message: | chore(deps): upgrade SpiderMonkey to `${{ env.MOZCENTRAL_VERSION }}` + author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> branch: chore/upgrade-spidermonkey-to-${{ env.MOZCENTRAL_VERSION_SHORT }} title: Upgrade SpiderMonkey to mozilla-central commit `${{ env.MOZCENTRAL_VERSION }}` body: | From 91edcc88ed7157c9479eeb50c0f2b16397f6d4e5 Mon Sep 17 00:00:00 2001 From: Tom Tang Date: Tue, 27 Aug 2024 09:35:22 +0000 Subject: [PATCH 2/3] chore(CI): lower the update frequency to every month as we don't have enough bandwidth --- .github/workflows/update-mozcentral-version.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-mozcentral-version.yaml b/.github/workflows/update-mozcentral-version.yaml index acc10136..470aeeac 100644 --- a/.github/workflows/update-mozcentral-version.yaml +++ b/.github/workflows/update-mozcentral-version.yaml @@ -2,7 +2,8 @@ name: 'Create pull requests to update mozilla-central version to the latest' on: schedule: - - cron: "00 14 * * 1" # run every Monday at 14:00 UTC (10:00 Eastern Daylight Time) + - cron: "00 14 */100,1-7 * 1" # run on the first Monday of each month at 14:00 UTC (10:00 Eastern Daylight Time) + # See https://blog.healthchecks.io/2022/09/schedule-cron-job-the-funky-way/ workflow_call: workflow_dispatch: # or you can run it manually From a6acc569513819264849f9ac782cfcc2fe784cd3 Mon Sep 17 00:00:00 2001 From: Tom Tang Date: Tue, 27 Aug 2024 09:37:10 +0000 Subject: [PATCH 3/3] chore(CI): automatically assign the PR to @Xmader --- .github/workflows/update-mozcentral-version.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update-mozcentral-version.yaml b/.github/workflows/update-mozcentral-version.yaml index 470aeeac..027720b8 100644 --- a/.github/workflows/update-mozcentral-version.yaml +++ b/.github/workflows/update-mozcentral-version.yaml @@ -40,3 +40,4 @@ jobs: body: | Changeset: https://hg.mozilla.org/mozilla-central/rev/${{ env.MOZCENTRAL_VERSION }} labels: dependencies + assignees: Xmader