Files
surf/.gitea/workflows/sync-upstream.yml
T
2025-11-11 14:56:44 +01:00

31 lines
667 B
YAML

name: Sync Upstream (12h)
on:
schedule:
- cron: "0 */12 * * *"
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout fork
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Add upstream remote
run: |
git remote add upstream https://git.suckless.org/surf || true
git fetch upstream
- name: Merge upstream into surf-webkit2
run: |
git checkout surf-webkit2
git merge upstream/surf-webkit2 --strategy-option ours --no-edit || true
- name: Push merged branch
run: |
git push origin surf-webkit2