add upstream sync

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2025-02-01 16:41:46 -05:00 committed by GitHub Actions
parent 428c2b58a4
commit a3c1072caa

18
.github/workflows/upstream_sync.yml vendored Normal file
View File

@ -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: DeterminateSystems/update-flake-lock
branch: main