Auto-update issue from issue generator output

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-10-05 14:44:54 +02:00
parent a94b833739
commit 8f39698462
No known key found for this signature in database
GPG Key ID: D91C3E91E4CAD6F5
3 changed files with 12 additions and 1 deletions

View File

@ -8,6 +8,7 @@ on:
permissions:
contents: write
issues: write
jobs:
test-and-build:
@ -70,6 +71,15 @@ jobs:
- name: Generate (and validate) translations
run: make translate
- name: Update Translations Issue
uses: JasonEtco/create-an-issue@v2
if: github.ref == 'refs/heads/master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filename: translate-issue.md
update_existing: true
- name: Build release
run: make publish
env:

1
.gitignore vendored
View File

@ -11,3 +11,4 @@ frontend/webfonts
frontend/*.woff2
node_modules
ots
translate-issue.md

View File

@ -26,7 +26,7 @@ publish: download_libs generate-inner generate-apidocs
bash ./ci/build.sh
translate:
cd ci/translate && go run .
cd ci/translate && go run . --write-issue-file
# -- Download / refresh external libraries --