diff --git a/.github/actions/refresh-local-fragments/action.yml b/.github/actions/refresh-local-fragments/action.yml index 475e4b4..f482092 100644 --- a/.github/actions/refresh-local-fragments/action.yml +++ b/.github/actions/refresh-local-fragments/action.yml @@ -11,3 +11,10 @@ runs: - name: Refresh local fragments shell: bash run: embedder update ${{ inputs.paths }} --local-only + - name: Commit local fragment updates + shell: bash + run: | + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git add -A + git diff --cached --quiet || git commit -m "chore: refresh local fragments"