File tree Expand file tree Collapse file tree 1 file changed +9
-26
lines changed Expand file tree Collapse file tree 1 file changed +9
-26
lines changed Original file line number Diff line number Diff line change 66 - cron : ' 22 14 * * *' # Runs every day at 14:15 UTC
77 workflow_dispatch :
88
9- permissions :
10- contents : write
11- actions : read
12-
139jobs :
1410 sync :
1511 runs-on : ubuntu-latest
16-
1712 steps :
18- - name : Checkout code
19- uses : actions/checkout@v2
20- with :
21- persist-credentials : false
22- fetch-depth : 0
23-
24- - name : Pull latest changes from upstream
25- run : |
26- git config --global user.email "[email protected] " 27- git config --global user.name "Datadog Syncup Service"
28- git remote add upstream https://github.com/openjdk/jdk.git
29- git fetch upstream
30- git checkout -b upstream-master upstream/master
31- git checkout master
32- git merge upstream-master
33-
34- - name : Push changes to downstream
35- uses : ad-m/github-push-action@master
36- with :
37- github_token : ${{ secrets.GH_PAT }}
38- branch : master
13+ - name : Check out
14+ uses : actions/checkout@v3
15+ with :
16+ fetch-depth : 0
17+ - uses : aormsby/Fork-Sync-With-Upstream-action@v1
18+ with :
19+ upstream_repository : openjdk/jdk
20+ upstream_branch : master
21+ target_branch : master
You can’t perform that action at this time.
0 commit comments