Skip to content

Commit 162e38a

Browse files
Merge pull request #646 from microsoft/dev
chore: Merge Dev to Main
2 parents 400dcfb + 1586aa6 commit 162e38a

File tree

7 files changed

+78
-855
lines changed

7 files changed

+78
-855
lines changed

.github/workflows/deploy-linux.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@ on:
33
pull_request:
44
branches:
55
- main
6+
paths:
7+
- 'src/frontend/**'
8+
- 'src/**/*.py'
9+
- 'src/requirements*.txt'
10+
- 'src/WebApp.Dockerfile'
11+
- '!src/tests/**'
12+
- 'infra/**/*.bicep'
13+
- 'infra/**/*.json'
14+
- '*.yaml'
15+
- '.github/workflows/deploy-*.yml'
616
workflow_run:
717
workflows: ["Build Docker and Optional Push"]
818
types:

.github/workflows/deploy-v2.yml

Lines changed: 0 additions & 853 deletions
This file was deleted.

.github/workflows/docker-build-and-push.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,27 @@ name: Build Docker and Optional Push
33
on:
44
push:
55
branches: [main, dev, demo]
6+
paths:
7+
- 'src/frontend/**'
8+
- 'src/**/*.py'
9+
- 'src/requirements*.txt'
10+
- 'src/WebApp.Dockerfile'
11+
- '.github/workflows/docker-build-and-push.yml'
12+
- '!src/tests/**'
613
pull_request:
714
branches: [main, dev, demo]
815
types:
916
- opened
1017
- ready_for_review
1118
- reopened
1219
- synchronize
20+
paths:
21+
- 'src/frontend/**'
22+
- 'src/**/*.py'
23+
- 'src/requirements*.txt'
24+
- 'src/WebApp.Dockerfile'
25+
- '.github/workflows/docker-build-and-push.yml'
26+
- '!src/tests/**'
1327
merge_group:
1428
workflow_dispatch:
1529

.github/workflows/node.js.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,28 @@ name: Build Frontend
66
on:
77
push:
88
branches: [ "main" ]
9+
paths:
10+
- 'src/frontend/**/*.ts'
11+
- 'src/frontend/**/*.tsx'
12+
- 'src/frontend/**/*.js'
13+
- 'src/frontend/**/*.jsx'
14+
- 'src/frontend/**/*.json'
15+
- 'src/frontend/**/*.css'
16+
- 'src/frontend/**/*.scss'
17+
- 'src/frontend/**/*.html'
18+
- '.github/workflows/node.js.yml'
919
pull_request:
1020
branches: [ "main" ]
11-
21+
paths:
22+
- 'src/frontend/**/*.ts'
23+
- 'src/frontend/**/*.tsx'
24+
- 'src/frontend/**/*.js'
25+
- 'src/frontend/**/*.jsx'
26+
- 'src/frontend/**/*.json'
27+
- 'src/frontend/**/*.css'
28+
- 'src/frontend/**/*.scss'
29+
- 'src/frontend/**/*.html'
30+
- '.github/workflows/node.js.yml'
1231

1332
jobs:
1433
build:

.github/workflows/pylint.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: PyLint
22

3-
on: [push]
3+
on:
4+
push:
5+
paths:
6+
- 'src/**/*.py'
7+
- '.flake8'
8+
- '.github/workflows/pylint.yml'
49

510
jobs:
611
lint:

.github/workflows/python-app.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,18 @@ name: Python application
66
on:
77
push:
88
branches: [ "main" ]
9+
paths:
10+
- 'src/**/*.py'
11+
- 'src/requirements*.txt'
12+
- 'src/tests/**'
13+
- '.github/workflows/python-app.yml'
914
pull_request:
1015
branches: [ "main" ]
16+
paths:
17+
- 'src/**/*.py'
18+
- 'src/requirements*.txt'
19+
- 'src/tests/**'
20+
- '.github/workflows/python-app.yml'
1121

1222
permissions:
1323
contents: read

.github/workflows/tests.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ on:
44
push:
55
branches:
66
- main # Trigger on push to the main branch
7+
paths:
8+
- 'src/**/*.py'
9+
- 'src/requirements*.txt'
10+
- 'src/frontend/**/*.ts'
11+
- 'src/frontend/**/*.tsx'
12+
- 'src/frontend/**/*.js'
13+
- 'src/frontend/**/*.jsx'
14+
- 'src/frontend/**/*.json'
15+
- '.github/workflows/tests.yml'
716
pull_request:
817
branches:
918
- main # Trigger on pull requests to the main branch
@@ -12,6 +21,15 @@ on:
1221
- ready_for_review
1322
- reopened
1423
- synchronize
24+
paths:
25+
- 'src/**/*.py'
26+
- 'src/requirements*.txt'
27+
- 'src/frontend/**/*.ts'
28+
- 'src/frontend/**/*.tsx'
29+
- 'src/frontend/**/*.js'
30+
- 'src/frontend/**/*.jsx'
31+
- 'src/frontend/**/*.json'
32+
- '.github/workflows/tests.yml'
1533

1634
jobs:
1735
backend_tests:

0 commit comments

Comments
 (0)