We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c92b3c commit 01adf2cCopy full SHA for 01adf2c
.github/workflows/sync.yml
@@ -0,0 +1,24 @@
1
+on:
2
+ workflow_dispatch:
3
+ schedule:
4
+ - cron: 0 1 * * *
5
+
6
+name: "Sync with upstream repository"
7
8
+jobs:
9
+ sync:
10
+ name: Get Updates from Upstream
11
+ if: ${{ github.repository != 'NVIDIA/cudaqx' }}
12
+ runs-on: 'ubuntu-latest'
13
14
+ steps:
15
+ - name: Checkout repository
16
+ uses: actions/checkout@v4
17
18
+ - name: Fast-forward ${{ github.ref_name }}
19
+ run: |
20
+ git config --global user.email "[email protected]"
21
+ git config --global user.name "GitHub Action"
22
+ git remote add upstream https://github.com/NVIDIA/cudaqx
23
+ git pull --ff-only upstream ${{ github.ref_name }}
24
+ git push origin
0 commit comments