Gradience/.github/workflows/translation.yml
0xMRTT 706aa521a1
ci: add automatic update of linguas
Signed-off-by: 0xMRTT <0xMRTT@tuta.io>
2022-08-14 00:06:42 +02:00

35 lines
772 B
YAML

name: "Translation"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '21 6 * * 5'
jobs:
update-pot:
name: Update .pot
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Update .pot
uses: AdwCustomizerTeam/action-update-pot@main
with:
title: "Adwaita Manager POT file"
copyright: "Adwaita Manager Team"
license: "GNU GPLv3"
author: "Adwaita Manager Team"
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
- name: Update linguas
uses: AdwCustomizerTeam/action-update-linguas@main
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}