diff --git a/.github/workflows/periodic_update.yml b/.github/workflows/periodic_update.yml index cbca05a8bb1..610f22aaefd 100644 --- a/.github/workflows/periodic_update.yml +++ b/.github/workflows/periodic_update.yml @@ -5,10 +5,15 @@ name: Periodic update # or API, or on a schedule. on: workflow_dispatch: + inputs: + update_po: + type: boolean + default: false + description: If true, also update .po files. schedule: - # At 10:32 on every first Wednesday of the month. - # See https://crontab.guru/#32_10_*/100,1-7_*_WED - - cron: "32 10 */100,1-7 * WED" + # At 15:32 (UTC) on Saturday. + # See https://crontab.guru/#32_15_*_*_SAT + - cron: "32 15 * * SAT" permissions: {} @@ -89,7 +94,9 @@ jobs: run: make -j$(nproc) - name: Create .pot files (containing original messages) run: cd locale && make pot - - name: Merge new messages + - name: Merge new messages (Done by Weblate plugin) + # Default false, but will be true if manually chosen. See https://stackoverflow.com/a/73495922 + if: ${{ inputs.update_po || false }} run: cd locale && make update-po - name: Verify the .po files run: cd locale && make verify