Skip to content

Commit

Permalink
Add a cron action for merging with upstream.
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan42 committed Apr 1, 2022
1 parent 71a328b commit d37b586
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d37b586

Please sign in to comment.