Skip to content

Commit

Permalink
ci: Job to auto-sync upstream changes
Browse files Browse the repository at this point in the history
- Add a GitHub workflow for syncing upstream pasta_curves updates
- Set sync to occur every 15 minutes or on manual triggers
- on the dev branch, so as to not be rewritten automatically
  • Loading branch information
huitseeker committed Dec 31, 2023
1 parent 0fb0b49 commit 3e2a644
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/repo-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
schedule:
- cron: "*/15 * * * *"
workflow_dispatch:

jobs:
repo-sync:
name: Sync changes from upstream Nova
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: repo-sync
uses: repo-sync/github-sync@v2
with:
source_repo: "https://github.com/microsoft/nova.git"
source_branch: "main"
destination_branch: "main"
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3e2a644

Please sign in to comment.