mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-09-11 06:55:40 +03:00
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
|