Skip to content

Update external files #886

Update external files

Update external files #886

name: Update external files
on:
workflow_dispatch:
schedule:
- cron: 15 8 * * *
permissions: {}
jobs:
update-external-files:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- run: >
curl -sL 'https://www.indicepa.gov.it/public-services/opendata-read-service.php?dstype=FS&filename=amministrazioni.txt'
| tail -n +2
| cut -f1
| LC_COLLATE=C sort > data/it/ipa_codes.txt
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8
with:
commit-message: "chore: update it/ipa_codes.txt"
title: "chore: update it/ipa_codes.txt"
body: ""
branch: update-external-files