Skip to content

Commit 672a550

Browse files
Let workflow runs when translation PR merged
1 parent 0182e35 commit 672a550

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/sync-crowdinota.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,17 @@ name: ota-distribution
22

33
on:
44
workflow_dispatch:
5+
pull_request:
6+
types:
7+
- closed
8+
branches:
9+
- master
10+
paths:
11+
- 'crowdin/lang/**'
512

613
jobs:
714
build:
15+
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
816
runs-on: ubuntu-latest
917
steps:
1018
# - uses: actions/checkout@v3

0 commit comments

Comments
 (0)