Skip to content

Commit

Permalink
chore: put the geolite database workflow to cron
Browse files Browse the repository at this point in the history
- Run the workflow on 1st of every month
  • Loading branch information
farhan committed May 5, 2024
1 parent b9da896 commit 9777e3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/update-geolite-database.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Update GeoLite Database

on:
schedule:
- cron: "0 3 1 * *"
workflow_dispatch:
inputs:
branch:
Expand Down Expand Up @@ -78,6 +80,7 @@ jobs:
--body "PR generated by workflow `${{ github.workflow }}` on behalf of @${{ github.actor }}." \
--head $BRANCH \
--base 'master' \
--reviewer 'feanil' \
| grep -o 'https://github.com/.*/pull/[0-9]*')
echo "PR Created: ${PR_URL}"
echo "pull-request-url=$PR_URL" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 9777e3a

Please sign in to comment.