Skip to content

Commit d091a8c

Browse files
committed
ci: sync ipa codes weekly from italian-organizations-ipa-vocabulary
1 parent fa3f5fc commit d091a8c

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/file-freshness-pr.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Update external files
22
on:
33
workflow_dispatch:
44
schedule:
5-
- cron: 15 8 * * *
5+
- cron: 15 8 * * 1
66

77
permissions: {}
88

@@ -13,11 +13,11 @@ jobs:
1313
contents: write
1414
pull-requests: write
1515
steps:
16-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
17-
- run: >
18-
curl -sL 'https://www.indicepa.gov.it/public-services/opendata-read-service.php?dstype=FS&filename=amministrazioni.txt'
19-
| tail -n +2
20-
| cut -f1
16+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
17+
- name: Sync IPA codes from vocabulary repo
18+
run: >
19+
curl -sL 'https://raw.githubusercontent.com/publiccodeyml/italian-organizations-ipa-vocabulary/main/ipa-codes.txt'
20+
| sed 's|^urn:x-italian-pa:||'
2121
| LC_COLLATE=C sort > data/it/ipa_codes.txt
2222
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8
2323
with:

0 commit comments

Comments
 (0)