Skip to content

Commit cf19160

Browse files
committed
gh-actions: Build on external PRs
And avoid building unnecessarily. Signed-off-by: Daniel Schaefer <[email protected]>
1 parent ccb5928 commit cf19160

File tree

3 files changed

+43
-4
lines changed

3 files changed

+43
-4
lines changed

.github/workflows/firmware.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
1-
name: Firmware CI Checks
1+
name: Firmware Checks
22

33
on:
4-
push
4+
push:
5+
branches:
6+
- master
7+
- dev-*
8+
paths-ignore:
9+
- '*.py'
10+
- 'inputmodule-control/**'
11+
pull_request:
12+
branches:
13+
- '*'
14+
paths-ignore:
15+
- '*.py'
16+
- 'inputmodule-control/**'
517

618
env:
719
CARGO_TERM_COLOR: always

.github/workflows/software.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
1-
name: Software CI Checks
1+
name: Software Checks
2+
23
on:
34
push:
5+
branches:
6+
- master
7+
- dev-*
8+
paths-ignore:
9+
- 'b1display/**'
10+
- 'c1minimal/**'
11+
- 'fl16-inputmodules/**'
12+
- 'ledmatrix/**'
13+
pull_request:
14+
branches:
15+
- '*'
16+
paths-ignore:
17+
- 'b1display/**'
18+
- 'c1minimal/**'
19+
- 'fl16-inputmodules/**'
20+
- 'ledmatrix/**'
421

522
env:
623
CARGO_TERM_COLOR: always

.github/workflows/traditional-cargo.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,17 @@
33
name: Traditional Cargo Workflow
44

55
on:
6-
push
6+
push:
7+
branches:
8+
- master
9+
- dev-*
10+
paths-ignore:
11+
- '*.py'
12+
pull_request:
13+
branches:
14+
- '*'
15+
paths-ignore:
16+
- '*.py'
717

818
env:
919
CARGO_TERM_COLOR: always

0 commit comments

Comments
 (0)