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

This commit is contained in:
Hintay 2024-07-31 00:32:49 +09:00
parent 43fb701425
commit 2a03eb7740
No known key found for this signature in database
GPG key ID: 120FC7FF121F2F2D

View file

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