From 20d0a527596f1b760791964b20dc7a505087fb6e Mon Sep 17 00:00:00 2001 From: Fabio Bonelli Date: Thu, 1 Aug 2024 11:07:48 +0200 Subject: [PATCH] chore: automatically open a PR with updated indice-pa-websites.csv --- .../workflows/update_indicepa_websites.yml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/update_indicepa_websites.yml diff --git a/.github/workflows/update_indicepa_websites.yml b/.github/workflows/update_indicepa_websites.yml new file mode 100644 index 0000000..5e3ab47 --- /dev/null +++ b/.github/workflows/update_indicepa_websites.yml @@ -0,0 +1,20 @@ +name: Update indice-pa-websites.csv +on: + workflow_dispatch: + schedule: + - cron: 15 9 * * * + +jobs: + update-external-files: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: > + curl -sL 'https://indicepa.gov.it/ipa-dati/datastore/dump/d09adf99-dc10-4349-8c53-27b1e5aa97b6?format=csv' > indice-pa-websites.csv + - uses: peter-evans/create-pull-request@v6 + with: + commit-message: "chore: update indice-pa-websites.csv" + title: "chore: update indice-pa-websites.csv" + body: "" + branch: update-ipa-websites +7