Skip to content

Commit 40eff4a

Browse files
authored
ci: fix package update by setting GH_REPO for gh cli (#875)
1 parent 14ed5a5 commit 40eff4a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
BODY=$(echo "$CURRENT_NOTES" | sed "0,/^## /d")
5555
gh release edit "${REF_NAME}" --notes "${HEADER}${TEMPLATE}${BODY}"
5656
env:
57-
GITHUB_TOKEN: ${{ github.token }}
57+
GH_TOKEN: ${{ github.token }}
5858
REF_NAME: ${{ github.ref_name }}
5959
update-release-notes:
6060
strategy:
@@ -102,4 +102,5 @@ jobs:
102102
gh release edit "${REF_NAME}" --notes "${UPDATED_NOTES}"
103103
env:
104104
DIGEST: ${{ steps.inspect-manifest.outputs.digest }}
105+
GH_REPO: ${{ github.repository }}
105106
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)