Skip to content

Commit 440839a

Browse files
committed
fix: workflow triggers
1 parent 5b3de3f commit 440839a

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/config-prettier.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
name: config-prettier
22
on:
33
push:
4+
branches:
5+
- main
46
paths:
57
- "config-prettier/**"
68
- ".github/workflows/config-prettier.yaml"
9+
pull_request:
10+
paths:
11+
- "config-prettier/**"
12+
- ".github/workflows/config-prettier.yaml"
13+
types:
14+
- opened
15+
- synchronize
716

817
jobs:
918
pipe:

.github/workflows/eslint-config-typescript.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
name: eslint-config-typescript
22
on:
33
push:
4+
branches:
5+
- main
46
paths:
57
- "eslint-config-typescript/**"
68
- ".github/workflows/eslint-config-typescript.yaml"
9+
pull_request:
10+
paths:
11+
- "config-prettier/**"
12+
- ".github/workflows/config-prettier.yaml"
13+
types:
14+
- opened
15+
- synchronize
716

817
jobs:
918
pipe:

0 commit comments

Comments
 (0)