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 5c8e29e commit 9d3700dCopy full SHA for 9d3700d
.github/workflows/build.yaml
@@ -0,0 +1,25 @@
1
+on:
2
+ schedule:
3
+ - cron: '0 0 * * *'
4
+
5
+ workflow_dispatch: # click the button on Github repo!
6
7
8
+jobs:
9
+ sync_with_upstream:
10
+ runs-on: ubuntu-latest
11
+ name: Sync master with upstream
12
13
+ steps:
14
+ - name: Checkout to master branch
15
+ uses: actions/checkout@v2
16
+ with:
17
+ ref: master
18
+ - name: Pull upstream changes
19
+ id: sync
20
+ uses: aormsby/Fork-Sync-With-Upstream-action@v2.1
21
22
+ upstream_repository: grandyang/leetcode
23
+ upstream_branch: master
24
+ target_branch: master
25
+ git_pull_args: --allow-unrelated-histories --rebase=merges --ff
0 commit comments