musaw commited on
Commit ·
4598659
1
Parent(s): ff31b26
Change resource sync cadence from weekly to daily
Browse files- .github/workflows/resource_sync.yml +2 -2
- README.md +1 -1
- docs/resource_automation.md +1 -1
- docs/resource_cycle_runbook.md +2 -2
.github/workflows/resource_sync.yml
CHANGED
|
@@ -2,7 +2,7 @@ name: Resource Sync
|
|
| 2 |
|
| 3 |
on:
|
| 4 |
schedule:
|
| 5 |
-
- cron: "0 4 * *
|
| 6 |
workflow_dispatch:
|
| 7 |
|
| 8 |
permissions:
|
|
@@ -40,7 +40,7 @@ jobs:
|
|
| 40 |
commit-message: "chore(resources): sync candidate feed"
|
| 41 |
title: "chore(resources): sync Pashto resource candidates"
|
| 42 |
body: |
|
| 43 |
-
Automated
|
| 44 |
|
| 45 |
Scope:
|
| 46 |
- Updates `resources/catalog/pending_candidates.json`
|
|
|
|
| 2 |
|
| 3 |
on:
|
| 4 |
schedule:
|
| 5 |
+
- cron: "0 4 * * *"
|
| 6 |
workflow_dispatch:
|
| 7 |
|
| 8 |
permissions:
|
|
|
|
| 40 |
commit-message: "chore(resources): sync candidate feed"
|
| 41 |
title: "chore(resources): sync Pashto resource candidates"
|
| 42 |
body: |
|
| 43 |
+
Automated daily candidate sync.
|
| 44 |
|
| 45 |
Scope:
|
| 46 |
- Updates `resources/catalog/pending_candidates.json`
|
README.md
CHANGED
|
@@ -42,7 +42,7 @@ This repository now has a machine-readable and searchable resource pipeline:
|
|
| 42 |
The process is semi-automatic:
|
| 43 |
|
| 44 |
1. Auto discovery:
|
| 45 |
-
-
|
| 46 |
- It updates `resources/catalog/pending_candidates.json` and opens a review PR.
|
| 47 |
|
| 48 |
2. Manual review and promotion:
|
|
|
|
| 42 |
The process is semi-automatic:
|
| 43 |
|
| 44 |
1. Auto discovery:
|
| 45 |
+
- Daily GitHub Action runs `.github/workflows/resource_sync.yml`.
|
| 46 |
- It updates `resources/catalog/pending_candidates.json` and opens a review PR.
|
| 47 |
|
| 48 |
2. Manual review and promotion:
|
docs/resource_automation.md
CHANGED
|
@@ -33,7 +33,7 @@ This repository uses a semi-automated process to keep Pashto resources current w
|
|
| 33 |
- generated file consistency
|
| 34 |
- markdown link checks
|
| 35 |
- tests
|
| 36 |
-
- Resource Sync (`.github/workflows/resource_sync.yml`) runs
|
| 37 |
|
| 38 |
## Review flow
|
| 39 |
1. Inspect candidate entries in `resources/catalog/pending_candidates.json`.
|
|
|
|
| 33 |
- generated file consistency
|
| 34 |
- markdown link checks
|
| 35 |
- tests
|
| 36 |
+
- Resource Sync (`.github/workflows/resource_sync.yml`) runs daily and opens a PR with candidate updates.
|
| 37 |
|
| 38 |
## Review flow
|
| 39 |
1. Inspect candidate entries in `resources/catalog/pending_candidates.json`.
|
docs/resource_cycle_runbook.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
| 2 |
|
| 3 |
Use this runbook whenever you want to repeat the resource update process without re-explaining it.
|
| 4 |
|
| 5 |
-
##
|
| 6 |
- Workflow: [../.github/workflows/resource_sync.yml](../.github/workflows/resource_sync.yml)
|
| 7 |
-
- Schedule: every
|
| 8 |
- Output: updates [../resources/catalog/pending_candidates.json](../resources/catalog/pending_candidates.json) and opens a review PR.
|
| 9 |
|
| 10 |
## Manual run (single command)
|
|
|
|
| 2 |
|
| 3 |
Use this runbook whenever you want to repeat the resource update process without re-explaining it.
|
| 4 |
|
| 5 |
+
## Daily automation (already enabled)
|
| 6 |
- Workflow: [../.github/workflows/resource_sync.yml](../.github/workflows/resource_sync.yml)
|
| 7 |
+
- Schedule: every day at 04:00 UTC via GitHub Actions cron.
|
| 8 |
- Output: updates [../resources/catalog/pending_candidates.json](../resources/catalog/pending_candidates.json) and opens a review PR.
|
| 9 |
|
| 10 |
## Manual run (single command)
|