Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ name: Nightly

on:
schedule:
# 23:07 UTC = 00:07 (01:07 in summer) German time: not before midnight German
# time. The whole run takes about 4 hours at most (the steps below are capped),
# so it ends before 7:00 German time if GitHub starts it on time. GitHub can
# start scheduled runs late; nothing here can prevent that.
- cron: '7 23 * * *'
# GitHub starts the scheduled runs of this repository about 6.5 hours late (the
# runs scheduled for 01:17 UTC started at 07:45, 08:19, 07:57 and 07:36 UTC on
# 11-11 to 11-14: 6h19 to 7h02 late). To begin around midnight German time
# (23:00 UTC, 00:00 in winter), the slot is set 6.5 hours earlier: 16:37 UTC.
# The whole run takes about 4 hours at most (the steps below are capped), so it
# ends before 7:00 German time. If GitHub's delay changes, adjust this time.
- cron: '37 16 * * *'
workflow_dispatch:
inputs:
dry_run:
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ GitHub Pages (Jekyll) from this repository.

## Nightly run

`.github/workflows/nightly.yml` (`schedule` 23:07 UTC, i.e. 00:07/01:07 German time, not before midnight; the run takes about 4 hours at most, and GitHub may start scheduled runs late; and `workflow_dispatch`
`.github/workflows/nightly.yml` (`schedule` 16:37 UTC: GitHub starts this repository's scheduled runs about 6.5 hours late (6h19 to 7h02 on 11-11 to 11-14), so the run begins around midnight German time; it takes about 4 hours at most; and `workflow_dispatch`
with `dry_run`) calls three workflows one after the other through
`workflow_call`, with `secrets: inherit`: `discover-apps.yml` (count 100,
months 1, `max_seconds` 3600), then a `wait` job (until `test.yml` and `publish-pr-screenshot.yml`
Expand Down
2 changes: 1 addition & 1 deletion MAINTAINER.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ The text is `code/appstream-help.md`; edit it there.

## Nightly run

`.github/workflows/nightly.yml` runs every night at 23:07 UTC (00:07 German time in winter, 01:07 in summer; it takes about 4 hours at most), one step after
`.github/workflows/nightly.yml` is scheduled for 16:37 UTC; GitHub starts it about 6.5 hours late, so it begins around midnight German time and takes about 4 hours at most, one step after
the other: Discover apps (100 pull requests at most, 1 hour at most), wait for their tests (1 hour
at most), Merge labeled PRs (100 at most), wait for the Test
runs that the merges started, Build website, Clean up notifications. It needs the secrets of these workflows (`DISCOVER_TOKEN` or
Expand Down