File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Sync with redmine/redmine
2+
3+ on :
4+ schedule :
5+ - cron : " 0 19 * * *" # 4 AM JST
6+ workflow_dispatch :
7+
8+ jobs :
9+ test :
10+ runs-on : ubuntu-latest
11+ env :
12+ REPOSITORY_ACCESS_TOKEN : ${{ secrets.REPOSITORY_ACCESS_TOKEN }}
13+ steps :
14+ - name : Clone redmine
15+ run :
git clone https://[email protected] /redmine-patch-meetup/redmine.git 16+ - name : Update to latest redmine/redmine master
17+ working-directory : ./redmine
18+ run : |
19+ git checkout master
20+ git remote add redmine https://[email protected] /redmine/redmine.git 21+ git fetch redmine
22+ git reset --hard redmine/master
23+ git push origin master
24+ git checkout development
25+ git config --global user.email "[email protected] " 26+ git config --global user.name "Redmine Patch Meetup"
27+ git rebase master
28+ git push -f origin development
You can’t perform that action at this time.
0 commit comments