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 : Mirror
2+
3+ on :
4+ push :
5+ branches :
6+ - mirror
7+ schedule :
8+ - cron : 0 */2 * * *
9+ workflow_dispatch :
10+
11+ jobs :
12+ mirror :
13+ runs-on : ubuntu-latest
14+ name : Mirror
15+ steps :
16+ - name : Clone
17+ run : |
18+ git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git linux-stable
19+ git -C linux-stable remote add openela https://github.com/openela/kernel-lts.git
20+ git -C linux-stable remote update
21+
22+ - name : Push
23+ working-directory : linux-stable
24+ env :
25+ LINUX_AMZN : https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/amazonlinux/linux.git
26+ run : |
27+ git push ${LINUX_AMZN} '+refs/remotes/origin/*:refs/heads/*' '+refs/tags/*:refs/tags/*'
28+ git push ${LINUX_AMZN} '+refs/remotes/openela/linux-4.14.y:refs/heads/linux-4.14.y'
You can’t perform that action at this time.
0 commit comments