Ver código fonte

Create pull requests for translations

MarkusRost 5 anos atrás
pai
commit
b427fa4e66
1 arquivos alterados com 16 adições e 0 exclusões
  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 }}