From 3adf2066c5bf9940427d73caaef02343a87d664e Mon Sep 17 00:00:00 2001
From: ahuston-0 <aliceghuston@gmail.com>
Date: Sat, 1 Feb 2025 15:48:52 -0500
Subject: [PATCH] add upstream sync

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
---
 .github/upstream_sync.yml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/upstream_sync.yml

diff --git a/.github/upstream_sync.yml b/.github/upstream_sync.yml
new file mode 100644
index 0000000..de0e5a4
--- /dev/null
+++ b/.github/upstream_sync.yml
@@ -0,0 +1,18 @@
+# .github/workflows/sync.yml
+name: Rebase Upstream
+on:
+  schedule:
+  - cron: "0 0 * * 0"  # run once a week
+  workflow_dispatch:   # run manually
+
+jobs:
+  sync:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@master
+      with:
+        fetch-depth: 10  # greater than the number of commits you made
+    - uses: imba-tjd/rebase-upstream-action@master
+      with:  # all args are optional
+        upstream: peter-evans/create-pull-request
+        branch:   main