Skip to content

Commit afc1b32

Browse files
Burak BayırXquik
andauthored
fix: target repository for release asset uploads (#50)
Co-authored-by: Xquik <support@xquik.com>
1 parent c4373c9 commit afc1b32

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/publish-npm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ jobs:
159159

160160
- name: Publish signed release assets
161161
env:
162+
GH_REPO: ${{ github.repository }}
162163
GH_TOKEN: ${{ github.token }}
163164
run: |
164165
set -euo pipefail

bin/check-release-environment

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ for required in \
1919
"actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6" \
2020
"actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a" \
2121
"actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c" \
22+
'GH_REPO: ${{ github.repository }}' \
2223
"gh release upload" \
2324
"npm publish"; do
2425
if ! grep -Fq "$required" "$workflow"; then

0 commit comments

Comments
 (0)