Skip to content

Commit c8bcee4

Browse files
committed
ci: fix GitHub release creation without checkout
Pass the repository explicitly to gh release create so the release job no longer depends on a local .git checkout to resolve the target repository.
1 parent 2a4b6ae commit c8bcee4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,6 @@ jobs:
8181
GH_TOKEN: ${{ secrets.RELEASE_PAT }}
8282
run: |
8383
gh release create "v${{ steps.get_version.outputs.VERSION }}" \
84+
--repo "${{ github.repository }}" \
8485
--title "Release ${{ steps.get_version.outputs.VERSION }}" \
8586
--notes "Release version ${{ steps.get_version.outputs.VERSION }}"

0 commit comments

Comments
 (0)