Skip to content

Commit 945c555

Browse files
run each workflow on changes to own packages and on main commits
1 parent 546131a commit 945c555

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/build-test-debs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ name: Build Deb packages
22

33
on:
44
push:
5-
branches: ["latest"]
5+
branches: ["main"]
66
pull_request:
77
paths:
88
- 'ros-apt-source/**'
99
- 'Earthfile'
10+
- '.github/**'
1011
workflow_dispatch:
1112
defaults:
1213
run:

.github/workflows/build-test-rpms.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@ name: Build RPM packages
22

33
on:
44
push:
5-
branches: ["latest"]
5+
branches: ["main"]
66
pull_request:
7+
paths:
8+
- 'ros-apt-source/**'
9+
- 'Earthfile'
10+
- '.github/**'
711
workflow_dispatch:
812
defaults:
913
run:

0 commit comments

Comments
 (0)