diff --git a/doc/main.html b/doc/main.html index 76edb5f..b5b96fb 100644 --- a/doc/main.html +++ b/doc/main.html @@ -14,7 +14,7 @@ - + Tooling and documentation for HTML documents @@ -3209,6 +3209,8 @@

End-of-period cleanup

Public repositories opt in by installing a second thin workflow file (.github/workflows/pcd-cleanup.yml) alongside the PCD-update wrapper. The cleanup workflow triggers on a daily cron schedule (0 6 * * * — 06:00 UTC) and on manual workflow_dispatch. The dispatch surfaces an optional force input that bypasses the date check — useful if a PCD is cancelled before its scheduled end, or for testing.

+

GitHub automatically disables scheduled workflows in a public repository after 60 days without repository activity, and scheduled runs do not count as activity. Because a review period often ends more than 60 days after the README was last updated, every run of the cleanup workflow first re-enables itself through the GitHub Actions API (PUT /repos/{owner}/{repo}/actions/workflows/pcd-cleanup.yml/enable), which resets that timer. The wrapper's check job therefore requires the actions: write permission. A workflow that GitHub has already disabled stays disabled until it is re-enabled once, by hand or by repository administration tooling.

+

The cleanup logic:

  1. Read the public repository's README.md.