mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
Fix repository owner detection with explicit fallback logic
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
3b59c3f3b9
commit
82d958747a
1 changed files with 4 additions and 0 deletions
4
.github/workflows/changelog-v3.yml
vendored
4
.github/workflows/changelog-v3.yml
vendored
|
|
@ -113,6 +113,10 @@ jobs:
|
|||
PR_INFO=$(gh pr view ${{ steps.pr_info.outputs.pr_number }} --json headRefName,headRepository)
|
||||
BRANCH_NAME=$(echo "$PR_INFO" | jq -r '.headRefName')
|
||||
REPO_OWNER=$(echo "$PR_INFO" | jq -r '.headRepository.owner.login')
|
||||
# Fallback if owner is null/empty
|
||||
if [ "$REPO_OWNER" = "null" ] || [ -z "$REPO_OWNER" ]; then
|
||||
REPO_OWNER="wailsapp"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "Pushing to branch: $BRANCH_NAME in repo: $REPO_OWNER"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue