Skip to content

Commit 387a594

Browse files
authored
be selective on paths when running ci (#8507)
1 parent 402779f commit 387a594

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/go.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,17 @@ name: Go CI
33
on:
44
push:
55
branches: [main]
6+
paths:
7+
- 'lantern-core/**'
8+
- 'go.mod'
9+
- 'go.sum'
10+
- '.github/workflows/go.yml'
611
pull_request:
7-
branches: [main]
12+
paths:
13+
- 'lantern-core/**'
14+
- 'go.mod'
15+
- 'go.sum'
16+
- '.github/workflows/go.yml'
817

918
jobs:
1019
build:

.github/workflows/transifex-push.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: "Push to transifex"
33
on:
44
push:
55
branches: [main]
6+
paths:
7+
- 'assets/locales/**'
8+
- '.tx/config'
9+
- '.github/workflows/transifex-push.yml'
610
workflow_dispatch:
711

812
jobs:

0 commit comments

Comments
 (0)