Skip to content

Conversation

@ktyagiapphelix2u
Copy link

@ktyagiapphelix2u ktyagiapphelix2u commented Nov 19, 2025

Description

Update update-geolite workflow from master => release-ulmo, and feanil => orbi-bom.
Each named release will need to make an update. This should go on our Verawood doc.

We changed the branch name logic because the workflow regenerated the same branch name on reruns (since it was based on github.sha), causing GitHub to reject the push with “fetch first” because the branch already existed on the remote.

Ticket Link

https://2u-internal.atlassian.net/browse/BOMS-267

Related PR

openedx#37706

Copy link

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 updates the GeoLite database workflow to target the release-ulmo branch instead of master and changes the reviewer assignment from an individual to a team.

  • Updated default and base branch references from "master" to "release-ulmo"
  • Changed PR reviewer from individual (@feanil) to team (edx/orbi-bom)

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

Copy link

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 1 out of 1 changed files in this pull request and generated 1 comment.


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

Copy link

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 1 out of 1 changed files in this pull request and generated 1 comment.


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

Copy link

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 1 out of 1 changed files in this pull request and generated 1 comment.


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

Copy link

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 1 out of 1 changed files in this pull request and generated no new comments.


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

Copy link

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 1 out of 1 changed files in this pull request and generated no new comments.

Comments suppressed due to low confidence (1)

.github/workflows/update-geolite-database.yml:27

  • The checkout step doesn't specify which branch to check out. Since the workflow accepts a branch input parameter, it should check out that branch: ref: '${{ inputs.branch || 'release-ulmo' }}'. Without this, the workflow will check out the default repository branch rather than the intended target branch, potentially causing the PR to be based on incorrect code.
      - name: Checkout Repository
        uses: actions/checkout@v5

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

@edx edx deleted a comment from Copilot AI Nov 20, 2025
@edx edx deleted a comment from Copilot AI Nov 20, 2025
Copilot AI review requested due to automatic review settings November 21, 2025 08:00
Copy link

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 6 out of 6 changed files in this pull request and generated 3 comments.


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

Copy link

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 1 out of 1 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 November 21, 2025 11:40
Copy link

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 1 out of 1 changed files in this pull request and generated no new comments.


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

Copy link

@chintanjoshi-apphelix-2u chintanjoshi-apphelix-2u left a comment

Choose a reason for hiding this comment

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

Left minor comments

Copilot AI review requested due to automatic review settings December 8, 2025 18:36
Copy link

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 1 out of 1 changed files in this pull request and generated 1 comment.


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

Comment on lines 8 to +11
branch:
description: "Target branch against which to create PR"
required: false
default: "master"
default: "release-ulmo"
Copy link

Copilot AI Dec 8, 2025

Choose a reason for hiding this comment

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

The branch input parameter is defined but never used in the workflow. The checkout step doesn't use inputs.branch to determine which branch to check out, and the PR base is now hardcoded to 'release-ulmo'.

Consider either:

  1. Removing the unused branch input parameter if it's no longer needed, or
  2. Using it to dynamically set the checkout ref and PR base branch like: ref: "${{ inputs.branch || 'release-ulmo' }}" in the checkout step and --base '${{ inputs.branch || 'release-ulmo' }}' in the PR creation command.

Copilot uses AI. Check for mistakes.
Copy link

@chintanjoshi-apphelix-2u chintanjoshi-apphelix-2u left a comment

Choose a reason for hiding this comment

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

Good to go

@ktyagiapphelix2u ktyagiapphelix2u merged commit 7033092 into release-ulmo Dec 9, 2025
70 checks passed
@ktyagiapphelix2u ktyagiapphelix2u deleted the ktyagi/geolite branch December 9, 2025 10:31
ssurendrannair pushed a commit that referenced this pull request Dec 10, 2025
* fix: update geolite workflow
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.

4 participants