fix(ci): gh CLI expects the GH_TOKEN env var (#10333)

This commit is contained in:
Lucas Fernandes Nogueira 2024-07-20 09:42:40 -03:00 committed by GitHub
parent cfc53074d0
commit 8b3e6eccf4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -119,7 +119,7 @@ jobs:
contains(steps.covector.outputs.packagesPublished, '@tauri-apps/cli') contains(steps.covector.outputs.packagesPublished, '@tauri-apps/cli')
run: gh workflow run 31554138 -r dev -f releaseId=${{ steps.covector.outputs['-tauri-apps-cli-releaseId'] }} run: gh workflow run 31554138 -r dev -f releaseId=${{ steps.covector.outputs['-tauri-apps-cli-releaseId'] }}
env: env:
GITHUB_TOKEN: ${{ secrets.ORG_TAURI_BOT_PAT }} GH_TOKEN: ${{ secrets.ORG_TAURI_BOT_PAT }}
- name: Trigger `tauri-cli` publishing workflow - name: Trigger `tauri-cli` publishing workflow
if: | if: |
@ -127,4 +127,4 @@ jobs:
contains(steps.covector.outputs.packagesPublished, 'tauri-cli') contains(steps.covector.outputs.packagesPublished, 'tauri-cli')
run: gh workflow run 31554139 -r dev run: gh workflow run 31554139 -r dev
env: env:
GITHUB_TOKEN: ${{ secrets.ORG_TAURI_BOT_PAT }} GH_TOKEN: ${{ secrets.ORG_TAURI_BOT_PAT }}