Skip to content

Commit

Permalink
Exercise ディレクトリに変更があったとしても、自動でコミットせず単に失敗させる
Browse files Browse the repository at this point in the history
  • Loading branch information
Seasawher committed Oct 7, 2024
1 parent 15b6236 commit 88ffba0
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,3 @@ jobs:
run: |
git add -N LeanByExample/Tutorial/Exercise
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]"
git add LeanByExample/Tutorial/Exercise
git commit -m "generated by GitHub Action"
git push origin HEAD:${{ github.event.pull_request.head.ref }}

0 comments on commit 88ffba0

Please sign in to comment.