Skip to content

Commit ec6afed

Browse files
committed
chore(workflows/encryption-tests): only run if tests related files changed
1 parent 62d1349 commit ec6afed

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

.github/workflows/encryption-tests.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
name: Encryption Tests
22

33
on:
4-
push:
5-
branches: ['master']
64
pull_request:
7-
branches: [ 'master', 'csfle' ]
5+
paths:
6+
- ".github/workflows/encryption-tests.yml"
7+
- "package.json"
8+
- "index.js"
9+
- "lib/**"
10+
- "test/encryption/**.js"
11+
- "scripts/setup-encryption-tests.js"
12+
push:
13+
paths:
14+
- ".github/workflows/encryption-tests.yml"
15+
- "package.json"
16+
- "index.js"
17+
- "lib/**"
18+
- "test/encryption/**.js"
19+
- "scripts/setup-encryption-tests.js"
820
workflow_dispatch: {}
921

1022
permissions:

0 commit comments

Comments
 (0)