1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
---
name: Gettext
on:
# This workflow does't run every push because it takes some time to build
# the app and not always translatable strings are modified on every push
schedule:
- cron: "0 9 15 * *"
workflow_dispatch: {}
jobs:
gettext:
name: Gettext
runs-on: ubuntu-latest
container:
image: ghcr.io/elementary/flatpak-platform/runtime:8.2
options: --privileged
steps:
- name: Install bzip2, git, python3-git and jq
run: |
apt-get update
apt-get install bzip2 git jq python3-git -y
- name: Clone repository
uses: actions/checkout@v6
with:
token: ${{ secrets.GIT_USER_TOKEN }}
- name: Configure Git
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Update Translation Files
uses: elementary/actions/gettext-flatpak@main
with:
manifest-path: io.github.ellie_commons.sequeler.yml
env:
GIT_USER_NAME: "github-actions[bot]"
GIT_USER_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
|