From a0ccc0a522b40ab4e2d546f1cc227d22fa1f5019 Mon Sep 17 00:00:00 2001 From: David Drysdale Date: Fri, 17 May 2024 11:59:37 +0100 Subject: [PATCH] ci: reinstate upstream check The docs at https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/notifications-for-workflow-runs say that: "Notifications for scheduled workflows are sent to the user who initially created the workflow" So re-create the workflow file by the maintainer. --- .github/workflows/upstream.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/upstream.yml diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml new file mode 100644 index 000000000..f0fa64186 --- /dev/null +++ b/.github/workflows/upstream.yml @@ -0,0 +1,21 @@ +name: Check libphonenumbers releases + +on: + schedule: + - cron: '30 7,19 * * *' # Run daily at 07:30 and 19:30 + workflow_dispatch: + +jobs: + versioncheck: + runs-on: ubuntu-latest + if: github.repository_owner == 'daviddrysdale' + steps: + - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3 + - uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4 + with: + python-version: 3 + - name: Check upstream version + run: | + pip install -U pip + pip install requests + python3 tools/python/checkupstreamversion.py