From d37b586d60fc612eafe22923076afec1cc74cc29 Mon Sep 17 00:00:00 2001 From: Thanassis Avgerinos Date: Thu, 31 Mar 2022 21:38:30 -0400 Subject: [PATCH] Add a cron action for merging with upstream. --- .github/workflows/sync.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/sync.yml diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml new file mode 100644 index 000000000..35c3fefa7 --- /dev/null +++ b/.github/workflows/sync.yml @@ -0,0 +1,22 @@ +name: Scheduled Merge Remote Action +on: + schedule: + - cron: "0 0 * * *" # This will run daily at midnight + workflow_dispatch: + +jobs: + merge-upstream: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + ref: master # default branch + fetch-depth: 0 + + - name: Merge Upstream + uses: exions/merge-upstream@v1 + with: + upstream: smoltcp-rs/smoltcp # set the upstream repo manually + upstream-branch: master # upstream default branch + branch: master # default branch \ No newline at end of file