Skip to content
7 changes: 4 additions & 3 deletions .github/workflows/update-geolite-database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
branch:
description: "Target branch against which to create PR"
required: false
default: "master"
default: "release-ulmo"

env:
MAXMIND_URL: "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country&license_key=${{ secrets.MAXMIND_LICENSE_KEY }}&suffix=tar.gz"
Expand Down Expand Up @@ -79,11 +79,12 @@ jobs:
--title "Update GeoLite Database" \
--body "PR generated by workflow `${{ github.workflow }}` on behalf of @${{ github.actor }}." \
--head $BRANCH \
--base 'master' \
--reviewer 'feanil' \
--base 'release-ulmo' \
Copy link

Copilot AI Nov 13, 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 defined at line 8-11 is not being used here. The --base flag should use ${{ inputs.branch || 'release-ulmo' }} instead of hardcoding 'release-ulmo', or the input parameter should be removed if it's not needed. Currently, if someone manually triggers this workflow with a different branch, it will be ignored.

Suggested change
--base 'release-ulmo' \
--base '${{ inputs.branch || 'release-ulmo' }}' \

Copilot uses AI. Check for mistakes.
--reviewer edx/orbi-bom \
| grep -o 'https://github.com/.*/pull/[0-9]*')
echo "PR Created: ${PR_URL}"
echo "pull-request-url=$PR_URL" >> $GITHUB_OUTPUT

env:
GH_TOKEN: ${{ github.token }}

Expand Down
Loading