Skip to content

Conversation

@muiriswoulfe
Copy link
Member

Summary

This introduces an update to the GitHub Actions workflow to improve the reliability of pushing changes by ensuring the latest changes are pulled before pushing. This helps prevent push conflicts during automated CI runs.

Workflow reliability improvement:

  • .github/workflows/build.yml: Added a step to run git pull before pushing changes, ensuring the local branch is up to date and reducing the risk of push conflicts during CI/CD automation.

@muiriswoulfe muiriswoulfe self-assigned this Jan 15, 2026
@muiriswoulfe muiriswoulfe requested a review from a team as a code owner January 15, 2026 17:32
Copilot AI review requested due to automatic review settings January 15, 2026 17:32
@muiriswoulfe muiriswoulfe added bug Something isn't working enhancement New feature or request labels Jan 15, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 15, 2026

PR Metrics

Thanks for keeping your pull request small.
Thanks for adding tests.

Lines
Product Code -
Test Code -
Subtotal -
Ignored Code 10
Total 10

Metrics computed by PR Metrics. Add it to your Azure DevOps and GitHub PRs!

@github-actions github-actions bot changed the title GitHub Actions resiliency improvement XS✔ ◾ GitHub Actions resiliency improvement Jan 15, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces a resilience improvement to the GitHub Actions workflow by adding a git pull step before pushing automated linting and build changes. This aims to prevent push conflicts when the remote branch has advanced while the workflow was running.

Changes:

  • Added a git pull step in the build workflow between committing and pushing automated changes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Add --global flag to pull.rebase config in git-setup-and-push action
and add merge strategy step to build workflow to ensure consistent
git configuration across all workflow contexts.
Copilot AI review requested due to automatic review settings January 16, 2026 10:08
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings January 16, 2026 11:04
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

.github/actions/git-setup-and-push/action.yml:54

  • This action creates a new branch and immediately pushes it without pulling first. Since the branch is newly created, there's no need for a pull step. However, the change to pull.rebase true could cause issues if this action is ever modified to pull before pushing, as rebasing on a newly created branch doesn't make logical sense. The previous setting of pull.rebase false was more appropriate for this use case. Consider reverting this change or documenting why rebase is used despite the branch being new.
      run: git push --set-upstream origin release/v${{ inputs.version }}-phase-${{ inputs.phase }}

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@muiriswoulfe muiriswoulfe enabled auto-merge (squash) January 16, 2026 13:26
@muiriswoulfe muiriswoulfe requested a review from K-Cully January 16, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants