1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-28 15:56:28 +00:00

ci: replace GITHUB_TOKEN with GH_PAT (#4133)

This commit is contained in:
Matan Kushner 2022-06-29 13:34:25 -04:00 committed by GitHub
parent 05cc198e8c
commit 7feb2174e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -308,9 +308,9 @@ jobs:
tag-name: ${{ needs.release_please.outputs.tag_name }} tag-name: ${{ needs.release_please.outputs.tag_name }}
env: env:
# Used for creating the formula update PR # Used for creating the formula update PR
COMMITTER_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }} COMMITTER_TOKEN: ${{ secrets.GH_PAT }}
# Used for verifying the SHA256 sum of the draft release # Used for verifying the SHA256 sum of the draft release
GITHUB_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }} GITHUB_TOKEN: ${{ secrets.GH_PAT }}
winget_update: winget_update:
name: Update Winget Manifest name: Update Winget Manifest
@ -324,7 +324,7 @@ jobs:
- run: | - run: |
$version = '${{ needs.release_please.outputs.tag_name }}'.replace('v', '') $version = '${{ needs.release_please.outputs.tag_name }}'.replace('v', '')
iwr https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe iwr https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
./wingetcreate.exe update Starship.Starship -s -v $version -u $env:URL_64 $env:URL_32 -t ${{ secrets.GITHUB_TOKEN }} ./wingetcreate.exe update Starship.Starship -s -v $version -u $env:URL_64 $env:URL_32 -t ${{ secrets.GH_PAT }}
merge_crowdin_pr: merge_crowdin_pr:
name: Merge Crowdin PR name: Merge Crowdin PR