From 7feb2174e7643f4832dce637234ac2a6a1678994 Mon Sep 17 00:00:00 2001 From: Matan Kushner Date: Wed, 29 Jun 2022 13:34:25 -0400 Subject: [PATCH] ci: replace GITHUB_TOKEN with GH_PAT (#4133) --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ffd9898a..e01f8a50 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -308,9 +308,9 @@ jobs: tag-name: ${{ needs.release_please.outputs.tag_name }} env: # 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 - GITHUB_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_PAT }} winget_update: name: Update Winget Manifest @@ -324,7 +324,7 @@ jobs: - run: | $version = '${{ needs.release_please.outputs.tag_name }}'.replace('v', '') 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: name: Merge Crowdin PR