Skip to content

Commit de51409

Browse files
committed
Daily slack reminder workflows should only run on weekdays
1 parent 2f29f31 commit de51409

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/workflows/fenix-beta-cut-slack.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ name: Fenix beta cut Slack announcement
22

33
on:
44
schedule:
5-
# Runs once a day at 12:00 UTC, which is 8am Eastern for the eight months
5+
# Runs on weekdays at 12:00 UTC, which is 8am Eastern for the eight months
66
# of the year Eastern is on daylight saving, and 7am for the rest: cron has
77
# no time zone, so one of the two has to drift.
88
#
99
# Ahead of the 16:00 UTC merge on purpose: the version bump lands during
1010
# merge day, and after that the API's "nightly" is the next major, not the
1111
# one merging today.
12-
- cron: '0 12 * * *'
12+
- cron: '0 12 * * 1-5'
1313
workflow_dispatch:
1414
inputs:
1515
dry_run:

‎.github/workflows/release-notes-slack.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Release notes Slack reminders
22

33
on:
44
schedule:
5-
# Runs once a day at 14:00 UTC (7am Pacific / 10am Eastern / 3pm BST)
5+
# Runs on weekdays at 14:00 UTC (7am Pacific / 10am Eastern / 3pm BST)
66
# Adjust time zone as needed for the team
7-
- cron: '0 14 * * *'
7+
- cron: '0 14 * * 1-5'
88
workflow_dispatch:
99
inputs:
1010
dry_run:

‎app/scripts/fenix_beta_cut_slack_notifier.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"""
33
Announces the Fenix beta cut in #mobile-android-team on desktop merge day.
44
5-
Run daily by .github/workflows/fenix-beta-cut-slack.yml. It reads the current
5+
Run each weekday by .github/workflows/fenix-beta-cut-slack.yml. It reads the current
66
Nightly's schedule and posts only when today is that version's merge day, so it is
77
safe to run every day of the year.
88

‎app/scripts/release_notes_slack_reminder.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"""
33
Checks the Firefox beta release schedule and posts Slack reminders on milestone days.
44
5-
Run daily by .github/workflows/release-notes-slack.yml. No-ops on days that
5+
Run each weekday by .github/workflows/release-notes-slack.yml. No-ops on days that
66
don't match a milestone, so it's safe to run every day of the year.
77
88
Requires the SLACK_WEBHOOK_URL environment variable (set from the

0 commit comments

Comments
 (0)