haskell.nix/.github/workflows/rebase.yaml
iko d48b367c1d
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
2022-08-02 13:29:41 +03:00

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