Skip to content

Commit

Permalink
Merge pull request #27 from Seasawher/hotfix
Browse files Browse the repository at this point in the history
差分がないときにエラーになる問題の修正
  • Loading branch information
yuma-mizuno authored Feb 11, 2024
2 parents 9fc95f2 + 4e4b21b commit 9b8f444
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/mk_exercise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,15 @@ jobs:
- name: make exercise
run: lake exe mk_exercise Solution Tutorial

- name: diff
id: diff
run: |
git add -N Tutorial
git diff --name-only --exit-code
continue-on-error: true

- name: commit
if: steps.diff.outcome == 'failure'
run: |
git config user.name "GitHub Action"
git config user.email "[email protected]"
Expand Down

0 comments on commit 9b8f444

Please sign in to comment.