diff --git a/.github/workflows/update_clone_badge.yml b/.github/workflows/update_clone_badge.yml index 7ebaea8b..95ca6b70 100644 --- a/.github/workflows/update_clone_badge.yml +++ b/.github/workflows/update_clone_badge.yml @@ -44,7 +44,7 @@ jobs: - name: Update README badge run: | - sed -i "s|label=Clones.*)|label=Clones-${{ steps.calculate_new_total.outputs.NEW_TOTAL }})|" README.md + sed -i "s|\(label=Clones%3A%20\)\(\d\+\)|\1${{ steps.calculate_new_total.outputs.NEW_TOTAL }}|" README.md - name: Commit and push changes run: |