浏览代码

Create pull requests for translations

MarkusRost 5 年之前
父节点
当前提交
b427fa4e66
共有 1 个文件被更改,包括 16 次插入0 次删除
  1. 16 0
      .github/workflows/pull-request.yml

+ 16 - 0
.github/workflows/pull-request.yml

@@ -0,0 +1,16 @@
+name: Create Pull Request
+on:
+  push:
+    branches: [ translations ]
+jobs:
+  pull-request:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v2
+    - name: pull-request
+      uses: repo-sync/pull-request@v2
+      with:
+        pr_title: "Update translations"
+        pr_body: "Update translations from https://weblate.frisk.space/engage/wiki-bot/"
+        pr_label: "translation"
+        github_token: ${{ secrets.WIKIBOT_TOKEN }}