Skip to content

Commit 3aeea9d

Browse files
authored
ci: use base repo (#1014)
1 parent 3e32431 commit 3aeea9d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/bot-build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,13 +170,14 @@ jobs:
170170
SHORT_SHA="${SHA:0:7}"
171171
172172
# Delete existing preview release for this PR
173-
gh release delete "$TAG" --yes --cleanup-tag 2>/dev/null || true
173+
gh release delete "$TAG" --yes --cleanup-tag -R "${{ github.repository }}" 2>/dev/null || true
174174
175175
# Create prerelease
176176
gh release create "$TAG" dist/*.tar.gz dist/*.zip dist/checksums.txt \
177177
--title "Preview Build (PR #${{ github.event.issue.number }} @ ${SHORT_SHA})" \
178178
--notes "Preview build from PR #${{ github.event.issue.number }} at commit ${SHORT_SHA}. **Not for production use.**" \
179-
--prerelease
179+
--prerelease \
180+
-R "${{ github.repository }}"
180181
181182
echo "tag=$TAG" >> $GITHUB_OUTPUT
182183

0 commit comments

Comments
 (0)