Skip to content

Commit

Permalink
Update convert_gs2md.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shimajima-eiji authored Aug 8, 2024
1 parent e4806a3 commit b74fbfa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/convert_gs2md.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,10 @@ jobs:
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Updated README.md from README.gs by Github Actions"
skip_dirty_check: false

- name: 何もしなかった場合にエラー終了させる(続きの処理を動かす条件になるため)
if: steps.auto-commit.outputs.changes_detected == 'false'
run: |
echo "No changes detected. Failing the workflow."
exit 1

0 comments on commit b74fbfa

Please sign in to comment.