mirror of
https://github.com/ipxe/ipxe.git
synced 2026-08-26 21:27:22 -05:00
[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:
@@ -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 }}"
|
||||
Reference in New Issue
Block a user