Sync regularly with upstream
Sync Upstream / sync (push) Has been cancelled

This commit is contained in:
2026-04-01 13:45:07 +02:00
parent 4d68899461
commit 95909b190d
+31
View File
@@ -0,0 +1,31 @@
name: Sync Upstream
on:
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout fork
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: master
- name: Add upstream remote
run: |
git remote add upstream https://git.suckless.org/st || true
git fetch upstream
- name: Merge upstream into master
run: |
git config user.name "gitea-runner[bot]"
git config user.email "gitea-runner[bot]@noreply.erickahmed.com"
git merge upstream/master --strategy-option ours --no-edit || true
- name: Push merged branch
run: |
git push origin master