Skip to content

Conversation

github-actions[bot]
Copy link

  • Fix build.yml workflow triggers for pull requests to include 'rel/weekly' branch

  • fix: remove --body parameter conflicting with --fill-verbose in scheduled releases
    The --body parameter was overriding the --fill-verbose flag, preventing
    the PR description from being populated with commit details. Removed
    --body to allow --fill-verbose to work correctly.

  • Add early exit logic when no new commits to release

    • Add commit check step following build.yml pattern
    • Skip PR creation when no new commits between rel/weekly and main
    • Satisfy linter by declaring HAS_NEW_COMMITS environment variable
    • Prevents workflow failure when branches are synchronized
  • fix: use remote branch reference in scheduled-releases workflow
    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: "fetch-depth: 0" doesn't fetch all branches actions/checkout#1017

…uled releases

The --body parameter was overriding the --fill-verbose flag, preventing
the PR description from being populated with commit details. Removed
--body to allow --fill-verbose to work correctly.
- Add commit check step following build.yml pattern
- Skip PR creation when no new commits between rel/weekly and main
- Satisfy linter by declaring HAS_NEW_COMMITS environment variable
- Prevents workflow failure when branches are synchronized
…eekly

Fix build.yml workflow triggers for pull requests to include 'rel/weekly' branch
…fill-verbose

Fix --fill-verbose parameter conflict in scheduled releases workflow
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
…remote-branch-ref

Use remote branch reference in scheduled-releases workflow
@github-actions github-actions bot requested a review from michael-hawker July 30, 2025 22:45
@github-actions github-actions bot enabled auto-merge (rebase) July 30, 2025 22:45
@github-actions github-actions bot merged commit 9fcadf6 into rel/weekly Jul 30, 2025
23 of 24 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