Skip to content

Commit

Permalink
fix(ci): gh CLI expects the GH_TOKEN env var (#10334)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog authored Jul 20, 2024
1 parent 56ffd29 commit 7d38149
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/covector-version-or-publish-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,20 +220,20 @@ jobs:
steps.covector.outputs.packagesPublished != ''
run: gh workflow run 18856068 -r v1 -R tauri-apps/tauri-docs
env:
GITHUB_TOKEN: ${{ secrets.ORG_TAURI_BOT_PAT }}
GH_TOKEN: ${{ secrets.ORG_TAURI_BOT_PAT }}

- name: Trigger `@tauri-apps/cli` publishing workflow
if: |
steps.covector.outputs.successfulPublish == 'true' &&
contains(steps.covector.outputs.packagesPublished, '@tauri-apps/cli')
run: gh workflow run 31554138 -r 1.x -f releaseId=${{ steps.covector.outputs['-tauri-apps-cli-releaseId'] }}
env:
GITHUB_TOKEN: ${{ secrets.ORG_TAURI_BOT_PAT }}
GH_TOKEN: ${{ secrets.ORG_TAURI_BOT_PAT }}

- name: Trigger `tauri-cli` publishing workflow
if: |
steps.covector.outputs.successfulPublish == 'true' &&
contains(steps.covector.outputs.packagesPublished, 'tauri-cli')
run: gh workflow run 31554139 -r 1.x
env:
GITHUB_TOKEN: ${{ secrets.ORG_TAURI_BOT_PAT }}
GH_TOKEN: ${{ secrets.ORG_TAURI_BOT_PAT }}

0 comments on commit 7d38149

Please sign in to comment.