@@ -1,6 +1,7 @@
name: Synchronize Branches
on:
+ workflow_dispatch:
pull_request:
branches:
- 'dev'
@@ -12,7 +13,7 @@ on:
jobs:
weblate:
runs-on: ubuntu-latest
- if: github.event.pull_request.merged == true || github.event.action == 'published'
+ if: github.event.pull_request.merged == true || github.event.action == 'published' || github.event_name == 'workflow_dispatch'
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -21,7 +22,6 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.10'
- cache: pip
- name: Install wlc
run: pip install wlc