Auto rebase
fix
Update rebase.yaml
Add email
Force everything
track master
Auto rebase
fix
Update rebase.yaml
Add email
Force everything
track master
Only cron
commitd48b367c1dd1fed6be44695bdbd33e6ccc72f5f3
authoriko <ilyakooo0@gmail.com>
dateTue 21 Dec 2021, 18:03 (5 years ago)
parentc42d5c5
.github/workflows/rebase.yamlnew file+28
@@ -0,0 +1,28 @@
1+name: Rebase on iohk/haskell.nix
2+
3+on:
4+ schedule:
5+ - cron: 0 0 * * *
6+
7+jobs:
8+ Linux:
9+ runs-on: ubuntu-latest
10+ steps:
11+ - uses: actions/checkout@v2.4.0
12+ with:
13+ fetch-depth: 0
14+ - name: Rebase and push
15+ run: |
16+ git config --global user.name "GitHub Actions"
17+
18+
19+ git remote add iohk https://github.com/input-output-hk/haskell.nix.git
20+ git fetch iohk
21+
22+ git checkout iko/ghcjs-patch-master
23+ git rebase iohk/master
24+ git push --force
25+
26+ git checkout --track origin/master
27+ git reset --hard iohk/master
28+ git push --force