sync: document automated sync in SYNC.md

Describe what the libbpf-sync workflow does and what to do when it
fails.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
This commit is contained in:
Ihor Solodrai authored and Andrii Nakryiko committed 2026-10-02 13:04:03 -07:00
1 parent c6a6fdb609
commit 85c0d575a4
1 file changed
+12
+12
View File
@@ -21,6 +21,18 @@ This document goes over the process of syncing libbpf sources from Linux repo
to this Github repository. Feel free to contribute fixes and additions if you
run into new problems not outlined here.
Automated sync
--------------
The [libbpf-sync workflow](.github/workflows/libbpf-sync.yml) runs the sync
monthly; to sync on demand, run it manually with `dry_run` disabled. If the
sync needs no human input, the workflow opens a `libbpf-sync-*` PR. Approve
its workflow runs to start libbpf CI, and push any CI fixes on top of it, as
described below. No new sync is attempted while such a PR is open.
If the workflow run fails, sync manually following the rest of this document.
The run's artifact has the sync log.
Setup expectations
------------------