From 7c53f2932fb7350d41abc710da58882bc7eb428a Mon Sep 17 00:00:00 2001 From: Lifailon Date: Mon, 15 Sep 2025 13:53:55 +0300 Subject: [PATCH] fix push for wiki --- .github/workflows/merge-coverage.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/merge-coverage.yml b/.github/workflows/merge-coverage.yml index 0cabd5c..ba5d2d2 100644 --- a/.github/workflows/merge-coverage.yml +++ b/.github/workflows/merge-coverage.yml @@ -8,11 +8,11 @@ on: default: false type: boolean Coverage: - description: 'Update coverage report' + description: 'Update html, svg and chart reports on Wiki' default: false type: boolean Wiki: - description: 'Publish report on Wiki' + description: 'Update final markdown report on Wiki' default: false type: boolean @@ -370,7 +370,7 @@ jobs: if: ${{ github.event.inputs.Wiki == 'true' }} run: git clone https://github.com/Lifailon/lazyjournal wiki - - name: Update markdown report on Wiki + - name: Update final markdown report on Wiki if: ${{ github.event.inputs.Wiki == 'true' }} run: | echo -e '# Coverage report\n' > wiki/home.md @@ -386,7 +386,6 @@ jobs: git add home.md if ! git diff --staged --quiet; then git commit -m "update markdown report" - git push origin main git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/Lifailon/lazyjournal.wiki main else echo "No changes to commit"