Skip to content

Commit 62bdbdb

Browse files
authored
Restrict GitHub workflows run (#1366)
* restrict frontend workflow to changes in frontend folder * fix typo * restrict python test workflow to changes in python files * ignore all paths other than project * Update python-test.yaml
1 parent f942f19 commit 62bdbdb

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/frontend.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ name: Frontend linting
33
on:
44
push:
55
branches: [ main ]
6+
paths:
7+
- "app/frontend/**"
68
pull_request:
79
branches: [ main ]
10+
paths:
11+
- "app/frontend/**"
812

913
jobs:
1014
prettier:

.github/workflows/python-test.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,18 @@ name: Python check
33
on:
44
push:
55
branches: [ main ]
6+
paths-ignore:
7+
- "**.md"
8+
- ".azdo/**"
9+
- ".devcontainer/**"
10+
- ".github/**"
611
pull_request:
712
branches: [ main ]
13+
paths-ignore:
14+
- "**.md"
15+
- ".azdo/**"
16+
- ".devcontainer/**"
17+
- ".github/**"
818
workflow_call:
919

1020
jobs:

0 commit comments

Comments
 (0)