mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-08-16 02:10:25 +03:00
fix Update rebase.yaml Add email Force everything track master Auto rebase fix Update rebase.yaml Add email Force everything track master Only cron
29 lines
632 B
YAML
29 lines
632 B
YAML
name: Rebase on iohk/haskell.nix
|
|
|
|
on:
|
|
schedule:
|
|
- cron: 0 0 * * *
|
|
|
|
jobs:
|
|
Linux:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2.4.0
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Rebase and push
|
|
run: |
|
|
git config --global user.name "GitHub Actions"
|
|
|
|
|
|
git remote add iohk https://github.com/input-output-hk/haskell.nix.git
|
|
git fetch iohk
|
|
|
|
git checkout iko/ghcjs-patch-master
|
|
git rebase iohk/master
|
|
git push --force
|
|
|
|
git checkout --track origin/master
|
|
git reset --hard iohk/master
|
|
git push --force
|