Skip to content

Commit 5afd16e

Browse files
authored
ci(workflows): only run on src folder changes (#77)
1 parent 50b3f9d commit 5afd16e

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

.github/workflows/build-test-code.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Test
33
on:
44
pull_request:
55
branches: [main]
6+
paths: 'src/**'
67

78
jobs:
89
test_pull_request:

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ name: "CodeQL"
1414
on:
1515
push:
1616
branches: [ main ]
17+
paths: 'src/**'
1718
pull_request:
1819
# The branches below must be a subset of the branches above
1920
branches: [ main ]

.github/workflows/publish-on-npm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Publish on NPM
33
on:
44
push:
55
branches: [main, beta]
6+
paths: 'src/**'
67

78
jobs:
89
release:

.github/workflows/report-coverage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Report Test Coverage
33
on:
44
push:
55
branches: [main]
6+
paths: 'src/**'
67

78
jobs:
89
report_test_coverage:

0 commit comments

Comments
 (0)