fix(ci): no cache and enable run manually for branches.yml

pull/470/head
Hintay 2 years ago
parent 43fb701425
commit 2a03eb7740
No known key found for this signature in database
GPG Key ID: 120FC7FF121F2F2D

@ -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

Loading…
Cancel
Save