From f080f7da08d2b5ec660de3b3ffb65a4d4e943746 Mon Sep 17 00:00:00 2001 From: Alexandre Gomes Gaigalas Date: Wed, 15 Feb 2023 00:44:30 -0300 Subject: [PATCH] Improve auto-updaters and pull requesters, auto-tld fix --- .github/dependabot.yml | 14 ++++++++++++++ .github/workflows/update-currency-codes.yaml | 2 +- .github/workflows/update-language-codes.yaml | 2 +- bin/update-tld | 2 +- library/Rules/Tld.php | 2 +- 5 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..5ff1fd3a --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +version: 2 +updates: + + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + + # Maintain dependencies for Composer + - package-ecosystem: "composer" + directory: "/" + schedule: + interval: "weekly" \ No newline at end of file diff --git a/.github/workflows/update-currency-codes.yaml b/.github/workflows/update-currency-codes.yaml index 7262a18d..9d156508 100644 --- a/.github/workflows/update-currency-codes.yaml +++ b/.github/workflows/update-currency-codes.yaml @@ -3,7 +3,7 @@ name: Update currency codes on: workflow_dispatch: schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * *' jobs: update-currency-codes: diff --git a/.github/workflows/update-language-codes.yaml b/.github/workflows/update-language-codes.yaml index a750908a..10097501 100644 --- a/.github/workflows/update-language-codes.yaml +++ b/.github/workflows/update-language-codes.yaml @@ -3,7 +3,7 @@ name: Update language codes on: workflow_dispatch: schedule: - - cron: '0 0 * * 0' + - cron: '0 0 * * *' jobs: update-language-codes: diff --git a/bin/update-tld b/bin/update-tld index 36122ada..4268ccb7 100755 --- a/bin/update-tld +++ b/bin/update-tld @@ -20,7 +20,7 @@ echo "- Creating temporary file" sed --silent --regexp-extended "/^