Merge pull request #34694 from farhan/farhan/move-geoipupdate-script-2
Put the geolite database workflow to cron
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
name: Update GeoLite Database
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 3 1 * *"
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
branch:
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user