From 601510d9a57b6eeef2dda2972a3ef0957cfce44f Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Mon, 31 Aug 2026 23:15:34 +0200 Subject: [PATCH] Fixed wiki-sync.yaml workflow --- .github/workflows/wiki-sync.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/wiki-sync.yaml b/.github/workflows/wiki-sync.yaml index e971df3..e619e83 100644 --- a/.github/workflows/wiki-sync.yaml +++ b/.github/workflows/wiki-sync.yaml @@ -49,6 +49,8 @@ jobs: - name: Checkout wiki if: steps.current-main.outputs.publish == 'true' + env: + GH_TOKEN: ${{ github.token }} run: | git clone https://github.com/${GITHUB_REPOSITORY}.wiki.git wiki @@ -60,6 +62,8 @@ jobs: - name: Commit and push if: steps.current-main.outputs.publish == 'true' shell: bash + env: + GH_TOKEN: ${{ github.token }} run: | CURRENT_SHA=$(gh api repos/${GITHUB_REPOSITORY}/git/ref/heads/main --jq '.object.sha') if [ "$CURRENT_SHA" != "$GITHUB_SHA" ]; then -- 2.47.3