Skip to content

Conversation

@Arlodotexe
Copy link
Member

The scheduled-releases workflow was failing with "unknown revision" error when comparing rel/weekly..main.

The actions/checkout@v4 action with fetch-depth: 0 fetches all remote branch history but doesn't create local tracking branches. Changed the git command to use origin/rel/weekly instead of rel/weekly to reference the remote branch that's actually available after checkout.

Fixes: https://github.com/CommunityToolkit/Labs-Windows/actions/runs/16633867803/job/47069979589
Related: actions/checkout#1017

Fixes issue where git rev-list command fails with 'unknown revision' error
when comparing rel/weekly..main. The checkout action with fetch-depth: 0
fetches all remote branches but doesn't create local tracking branches.

Changed from 'rel/weekly' to 'origin/rel/weekly' to reference the remote
branch that is actually available after checkout.

Fixes: https://github.com/CommunityToolkit/Labs-Windows/actions/runs/16633867803/job/47069979589
Related: actions/checkout#1017
@Arlodotexe Arlodotexe enabled auto-merge July 30, 2025 21:48
@Arlodotexe Arlodotexe merged commit 1a6a85c into main Jul 30, 2025
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants