Update external files #895
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update external files | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: 15 8 * * 1 | |
| permissions: {} | |
| jobs: | |
| update-external-files: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4 | |
| - name: Sync IPA codes from vocabulary repo | |
| run: > | |
| curl -sL 'https://raw.githubusercontent.com/publiccodeyml/italian-organizations-ipa-vocabulary/main/ipa-codes.txt' | |
| | sed 's|^urn:x-italian-pa:||' | |
| | 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 |