Skip to content

Use dedicated branch for promotion conflict resolution#83

Merged
ToonCasteele merged 4 commits into
mainfrom
copilot/modify-workflow-for-merge-conflicts
Jul 17, 2026
Merged

Use dedicated branch for promotion conflict resolution#83
ToonCasteele merged 4 commits into
mainfrom
copilot/modify-workflow-for-merge-conflicts

Conversation

Copilot AI commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Target branch

  • This PR creates, updates, or deletes Dataverse data and targets release-candidate.
  • This PR is read-only and targets main.

Use the base selector on the pull request page before opening the PR. Promote the complete release candidate with a separate release-candidate to main pull request.

  • Promotion branch: Create promotion PRs from automation/main-to-release-candidate instead of main.
  • Conflict resolution: Request Copilot changes on the dedicated branch and re-run promotion after resolution commits.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the main → release-candidate promotion workflow to use a dedicated head branch, so conflict resolution commits can be pushed without modifying main.

Changes:

  • Adjusts the promotion workflow to open the PR from automation/main-to-release-candidate (instead of main) and to re-trigger on PR synchronization.
  • Updates documentation to reflect the dedicated promotion branch approach.
  • Bumps the package version and version comment.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
README.md Updates the workflow description to document the dedicated promotion branch behavior.
DynamicsActivitiesPackage/DynamicsActivitiesPackage/DynamicsActivitiesPackage.csproj Increments package version and updates the version comment for this PR.
.github/workflows/promote-main-to-release-candidate.yml Creates/uses a dedicated promotion branch and re-triggers on promotion PR updates to support conflict resolution on that branch.

Comment thread .github/workflows/promote-main-to-release-candidate.yml Outdated
Comment on lines +35 to 39
promotion_branch="automation/main-to-release-candidate"
pr_number="$(gh pr list \
--base release-candidate \
--head main \
--head "$promotion_branch" \
--state open \
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI requested a review from ToonCasteele July 17, 2026 11:58
@ToonCasteele
ToonCasteele merged commit 2ced749 into main Jul 17, 2026
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.

3 participants