Skip to content

Commit d3f7819

Browse files
authored
Sync.yml
1 parent c2e8e1a commit d3f7819

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/node.js.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3+
4+
name: Sync Fork
5+
6+
on:
7+
push:
8+
branches: [ "master" ]
9+
pull_request:
10+
branches: [ "master" ]
11+
workflow_dispatch: #
12+
13+
jobs:
14+
sync:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout repo
18+
uses: actions/checkout@v3
19+
with:
20+
repository: ORIGINAL-OWNER/ORIGINAL-REPOSITORY
21+
token: ${{}}
22+
ref: master
23+
- name: Sync with upstream
24+
run: |
25+
git fetch
26+
git pull

0 commit comments

Comments
 (0)