From 9777e3a7cf7f859a787781853d8fd27e67a17dca Mon Sep 17 00:00:00 2001 From: farhan Date: Sun, 5 May 2024 12:00:41 +0500 Subject: [PATCH] chore: put the geolite database workflow to cron - Run the workflow on 1st of every month --- .github/workflows/update-geolite-database.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/update-geolite-database.yml b/.github/workflows/update-geolite-database.yml index cee95bd5ab45..3289d31a2212 100644 --- a/.github/workflows/update-geolite-database.yml +++ b/.github/workflows/update-geolite-database.yml @@ -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