Skip to content

Commit

Permalink
Don't merge and push to solution branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Bärenz committed Jan 5, 2024
1 parent c1897ed commit 32c8699
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,12 @@ jobs:
- name: Cabal build dependencies
run: cabal build all --enable-tests --only-dependencies

- name: Check whether solution branch only contains diffs in the Koans, and merge
- name: Check whether solution branch only contains diffs in the Koans
run: |
git fetch origin main
git fetch origin solution
git checkout solution
git config --global user.name 'Manuel Bärenz'
git config --global user.email '[email protected]'
git merge origin/main
git diff origin/solution --exit-code -- ':(exclude)koans/**/Koan.hs'
git push
- name: Check out solution branch
uses: actions/checkout@v4
Expand Down

0 comments on commit 32c8699

Please sign in to comment.