diff --git a/.github/workflows/test-and-build.yml b/.github/workflows/test-and-build.yml index 772b01c..cfa7881 100644 --- a/.github/workflows/test-and-build.yml +++ b/.github/workflows/test-and-build.yml @@ -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: diff --git a/.gitignore b/.gitignore index 48dace5..11a2ef1 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ frontend/webfonts frontend/*.woff2 node_modules ots +translate-issue.md diff --git a/Makefile b/Makefile index f5d80eb..cdc0d67 100644 --- a/Makefile +++ b/Makefile @@ -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 --