Skip to content

Sync Fork with Upstream #723

Sync Fork with Upstream

Sync Fork with Upstream #723

Workflow file for this run

name: Sync Fork with Upstream
on:
schedule:
- cron: '0 */2 * * *' # Run every two hours
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Add upstream remote
run: |
git remote add upstream https://github.com/coreboot/coreboot.git
git fetch upstream
- name: Merge upstream changes
run: |
git checkout main
git merge upstream/main --ff-only || git merge upstream/main
- name: Push changes
run: git push origin main