Skip to content

Commit 3304671

Browse files
highemerlyclaude
authored andcommitted
fix(ci): fix rebase target from upstream/TAG to refs/tags/TAG
タグはリモートブランチ参照ではないため upstream/TAG は invalid upstream になる。 fetch済みのタグを refs/tags/TAG で直接指定するよう修正。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 9f80bd1 commit 3304671

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/check-upstream.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
git config user.name "github-actions[bot]"
9393
git config user.email "github-actions[bot]@users.noreply.github.com"
9494
95-
if git rebase upstream/$NEW_TAG; then
95+
if git rebase refs/tags/$NEW_TAG; then
9696
echo "rebase_success=true" >> $GITHUB_OUTPUT
9797
echo "Rebase succeeded!"
9898
else

0 commit comments

Comments
 (0)