File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -867,15 +867,16 @@ jobs:
867
867
.\wingetcreate.exe update Coder.Coder `
868
868
--submit `
869
869
--version "${version}" `
870
- --urls "${amd64_installer_url}" "${amd64_zip_url}" "${arm64_zip_url}" `
871
- --token "$env:WINGET_GH_TOKEN"
870
+ --urls "${amd64_installer_url}" "${amd64_zip_url}" "${arm64_zip_url}"
872
871
873
872
env :
874
873
# For gh CLI:
875
874
GH_TOKEN : ${{ github.token }}
876
875
# For wingetcreate. We need a real token since we're pushing a commit
877
876
# to GitHub and then making a PR in a different repo.
878
- WINGET_GH_TOKEN : ${{ secrets.CDRCI_GITHUB_TOKEN }}
877
+ # winget-create will read the following environment variable to access the GitHub token needed for submitting a PR
878
+ # See https://aka.ms/winget-create-token
879
+ WINGET_CREATE_GITHUB_TOKEN : ${{ secrets.CDRCI_GITHUB_TOKEN }}
879
880
880
881
- name : Comment on PR
881
882
run : |
You can’t perform that action at this time.
0 commit comments