From: Giorgio Ravera Date: Mon, 31 Aug 2026 21:15:34 +0000 (+0200) Subject: Fixed wiki-sync.yaml workflow X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=601510d9a57b6eeef2dda2972a3ef0957cfce44f;p=network-manager.git Fixed wiki-sync.yaml workflow --- 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