Skip to content

Commit d99ed20

Browse files
committed
Actions: Add Gettext
1 parent 74e7978 commit d99ed20

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/merge.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Merge
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
gettext:
11+
name: Gettext
12+
runs-on: ubuntu-latest
13+
container:
14+
image: ghcr.io/elementary/flatpak-platform/runtime:8.2
15+
options: --privileged
16+
17+
steps:
18+
- name: Install git, python3-git and jq
19+
run: |
20+
apt-get update
21+
apt-get install git jq python3-git -y
22+
23+
- name: Clone repository
24+
uses: actions/checkout@v6
25+
with:
26+
token: ${{ secrets.GIT_USER_TOKEN }}
27+
28+
- name: Configure Git
29+
run: |
30+
git config --global --add safe.directory "$GITHUB_WORKSPACE"
31+
32+
- name: Update Translation Files
33+
uses: elementary/actions/gettext-flatpak@main
34+
with:
35+
manifest-path: io.github.ellie_commons.sequeler.json
36+
env:
37+
GIT_USER_NAME: "github-actions[bot]"
38+
GIT_USER_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"

0 commit comments

Comments
 (0)