Merge pull request #34694 from farhan/farhan/move-geoipupdate-script-2

Put the geolite database workflow to cron
This commit is contained in:
Feanil Patel
2024-05-06 09:28:28 -04:00
committed by GitHub

View File

@@ -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