Gradience/.github/workflows/translation.yml
Workflow config file is invalid. Please check your config file: yaml: line 4: did not find expected ',' or ']'
0xMRTT deb39e28aa
ci: schedule run of translation
Signed-off-by: 0xMRTT <0xMRTT@tuta.io>
2022-08-15 08:56:55 +02:00

33 lines
750 B
YAML

name: "Translation"
on:
pull_request:
branches: [ "main" [
schedule:
- cron: '0 0,12 * * *'
jobs:
generate:
name: Generate .pot and LINGUAS
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 }}