]> git.giorgioravera.it Git - network-manager.git/commitdiff
Fixed wiki-sync.yaml workflow
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Mon, 31 Aug 2026 21:15:34 +0000 (23:15 +0200)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Mon, 31 Aug 2026 21:15:34 +0000 (23:15 +0200)
.github/workflows/wiki-sync.yaml

index e971df37b7ea3ef7d32fb8cb81574da08862ab4d..e619e834d4f275ec9d28d77a5d7041b8415966b8 100644 (file)
@@ -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