Skip to content

Commit 91e6050

Browse files
committed
fix(ci): separate tag and branch triggers to avoid path filtering on tags
Path filters should only apply to branch pushes, not tag pushes. This allows workflows to run for all version tags regardless of which files changed in the tagged commit.
1 parent 1c0a091 commit 91e6050

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/build-desktop.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Desktop Builds
33
on:
44
push:
55
branches: [ main ]
6-
tags:
7-
- 'v*.*.*'
86
paths:
97
- 'frontend/**'
108
- 'cmd/network-debugger/**'
@@ -13,6 +11,9 @@ on:
1311
- 'scripts/package-*.sh'
1412
- 'scripts/package-*.ps1'
1513
- '.github/workflows/build-desktop.yml'
14+
push:
15+
tags:
16+
- 'v*.*.*'
1617
pull_request:
1718
paths:
1819
- 'frontend/**'

.github/workflows/build-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- '.github/workflows/build-windows.yml'
1313
push:
1414
tags:
15-
- 'v*'
15+
- 'v*.*.*'
1616
workflow_dispatch:
1717
workflow_call:
1818

0 commit comments

Comments
 (0)