From f268aac412075e99cc04fc0fb9d6c5a2692cae1b Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Wed, 4 Dec 2024 13:21:07 +0100 Subject: [PATCH] fix condition --- .github/actions/simple-md-toc/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/simple-md-toc/action.yml b/.github/actions/simple-md-toc/action.yml index 55330cb66..c72f91a17 100644 --- a/.github/actions/simple-md-toc/action.yml +++ b/.github/actions/simple-md-toc/action.yml @@ -51,6 +51,7 @@ runs: echo "Table of Contents successfully generated in ${{ inputs.md_src }}" shell: bash - name: Autocommit changes + if: inputs.dry_run == 'false' uses: stefanzweifel/git-auto-commit-action@v4 with: commit_message: Auto update TOC in ${{ inputs.md_src }}