-
-
Notifications
You must be signed in to change notification settings - Fork 6
38 lines (32 loc) · 878 Bytes
/
gettext.yml
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
---
name: Merge
on:
push:
branches:
- main
jobs:
gettext:
name: Gettext
runs-on: ubuntu-latest
container:
image: ghcr.io/elementary/flatpak-platform/runtime:8-x86_64
options: --privileged
steps:
- name: Install git, python3-git and jq
run: |
apt-get update
apt-get install git jq python3-git -y
- name: Clone repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_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.danirabbit.harvey.yml'
env:
GIT_USER_NAME: "github-actions[bot]"
GIT_USER_EMAIL: "github-actions[bot]@users.noreply.github.com"