[ci] Add a workflow to run in forks to synchronise from the upstream

Add a workflow that can be dispatched within a fork to synchronise it
from the upstream repository.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2026-08-05 15:26:05 +01:00
parent 36c25549c8
commit 6084600b47
+20
View File
@@ -0,0 +1,20 @@
name: Sync Repo
on:
workflow_dispatch:
permissions:
contents: write
jobs:
sync:
name: Sync
runs-on: ubuntu-latest
steps:
- name: Sync
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh repo sync "${{ github.repository }}"