Skip to content

Commit 0fb079b

Browse files
aduh95richardlau
authored andcommitted
tools: run build-windows workflow only on source changes
PR-URL: #51596 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Tierney Cyren <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]>
1 parent c3c0a3e commit 0fb079b

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

.github/workflows/build-windows.yml

+14-8
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,27 @@ name: Build Windows
22

33
on:
44
pull_request:
5-
paths-ignore:
6-
- README.md
7-
- .github/**
8-
- '!.github/workflows/build-windows.yml'
5+
paths:
6+
- lib/**/*.js
7+
- Makefile
8+
- src/**/*.cc
9+
- src/**/*.h
10+
- tools/gyp/**
11+
- .github/workflows/build-windows.yml
912
types: [opened, synchronize, reopened, ready_for_review]
1013
push:
1114
branches:
1215
- main
1316
- canary
1417
- v[0-9]+.x-staging
1518
- v[0-9]+.x
16-
paths-ignore:
17-
- README.md
18-
- .github/**
19-
- '!.github/workflows/build-windows.yml'
19+
paths:
20+
- lib/**/*.js
21+
- Makefile
22+
- src/**/*.cc
23+
- src/**/*.h
24+
- tools/gyp/**
25+
- .github/workflows/build-windows.yml
2026

2127
concurrency:
2228
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

0 commit comments

Comments
 (0)