Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/update-geolite2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Update GeoLite2 Checksum

on:
schedule:
- cron: '0 2 * * 1' # Weekly on Mondays at 2 AM UTC
- cron: '0 2 * * 0' # Weekly on Sundays at 2 AM UTC
workflow_dispatch:

permissions:
Expand Down Expand Up @@ -141,7 +141,8 @@ jobs:
---

**Auto-generated by:** `.github/workflows/update-geolite2.yml`
**Trigger:** Scheduled weekly check (Mondays 2 AM UTC)
- **Trigger:** Scheduled weekly check (Sundays 2 AM UTC)
base: development
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

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

base: development is set for create-pull-request, but the workflow checks out the default ref (for schedule, GitHub runs on the default branch). If the default branch is main, the PR branch will be created from main and then opened against development, potentially producing a large PR containing all maindevelopment differences (not just the checksum update). To keep the PR scoped, either check out development explicitly (e.g., set actions/checkout ref: development) when using base: development, or remove base so the PR targets the checked-out branch.

Suggested change
base: development

Copilot uses AI. Check for mistakes.
branch: bot/update-geolite2-checksum
delete-branch: true
commit-message: |
Expand Down Expand Up @@ -182,7 +183,7 @@ jobs:

### Workflow Details
- **Run URL:** ${runUrl}
- **Triggered:** ${context.eventName === 'schedule' ? 'Scheduled (weekly)' : 'Manual dispatch'}
- **Triggered:** ${context.eventName === 'schedule' ? 'Scheduled (weekly, Sundays)' : 'Manual dispatch'}
- **Timestamp:** ${new Date().toISOString()}

### Required Actions
Expand Down
Loading