File tree Expand file tree Collapse file tree 7 files changed +56
-2
lines changed
Expand file tree Collapse file tree 7 files changed +56
-2
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7+ paths :
8+ - ' infra/**'
9+ - ' azure*.yaml'
10+ - ' .github/workflows/azure-dev.yml'
711
812permissions :
913 contents : read
Original file line number Diff line number Diff line change 1414 schedule :
1515 - cron : ' 17 11 * * 0'
1616
17+ concurrency :
18+ group : codeql-${{ github.ref }}
19+ cancel-in-progress : true
20+
1721jobs :
1822 analyze :
1923 name : Analyze
Original file line number Diff line number Diff line change @@ -3,6 +3,15 @@ name: "Create Release"
33on :
44 push :
55 branches : ["main"]
6+ paths-ignore :
7+ - ' docs/**'
8+ - ' **/*.md'
9+ - ' LICENSE'
10+ - ' **/*.png'
11+ - ' **/*.svg'
12+ - ' **/*.jpg'
13+ - ' **/*.jpeg'
14+ - ' **/*.gif'
615
716 workflow_dispatch :
817
Original file line number Diff line number Diff line change 66 paths :
77 - ' src/**'
88 - ' !src/tests/**'
9+ - ' !src/pytest.ini'
910 - ' infra/**/*.bicep'
1011 - ' infra/**/*.json'
12+ - ' infra/scripts/**'
1113 - ' *.yaml'
1214 - ' scripts/**'
1315 - ' .github/workflows/deploy-*.yml'
Original file line number Diff line number Diff line change 1010 - ' src/backend/**'
1111 - ' src/app/frontend/**'
1212 - ' src/app/frontend-server/**'
13+ - ' src/app/WebApp.Dockerfile'
14+ - ' src/app/.dockerignore'
1315 - ' .github/workflows/docker-build.yml'
1416 pull_request :
1517 types :
2527 - ' src/backend/**'
2628 - ' src/app/frontend/**'
2729 - ' src/app/frontend-server/**'
30+ - ' src/app/WebApp.Dockerfile'
31+ - ' src/app/.dockerignore'
2832 - ' .github/workflows/docker-build.yml'
2933 workflow_dispatch :
3034
3135permissions :
3236 contents : read
3337 actions : read
3438 id-token : write # Required for OIDC-based Azure authentication
39+
40+ concurrency :
41+ group : docker-build-${{ github.ref }}
42+ cancel-in-progress : true
43+
3544jobs :
3645 build-and-push :
3746 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -2,6 +2,18 @@ name: PyLint
22
33on :
44 push :
5+ branches :
6+ - main
7+ - dev
8+ paths :
9+ - ' src/backend/**/*.py'
10+ - ' src/backend/requirements*.txt'
11+ - ' .flake8'
12+ - ' .github/workflows/pylint.yml'
13+ pull_request :
14+ branches :
15+ - main
16+ - dev
517 paths :
618 - ' src/backend/**/*.py'
719 - ' src/backend/requirements*.txt'
@@ -12,6 +24,10 @@ permissions:
1224 contents : read
1325 actions : read
1426
27+ concurrency :
28+ group : pylint-${{ github.ref }}
29+ cancel-in-progress : true
30+
1531jobs :
1632 build :
1733 runs-on : ubuntu-latest
2541 uses : actions/setup-python@v6
2642 with :
2743 python-version : ${{ matrix.python-version }}
44+ cache : ' pip'
45+ cache-dependency-path : src/backend/requirements*.txt
2846
2947 - name : Install dependencies
3048 run : |
Original file line number Diff line number Diff line change 66 - main
77 - dev
88 paths :
9- - ' **/*.py'
9+ - ' src/ **/*.py'
1010 - ' src/backend/requirements*.txt'
11+ - ' src/pytest.ini'
1112 - ' .github/workflows/test.yml'
1213 pull_request :
1314 types :
1920 - main
2021 - dev
2122 paths :
22- - ' **/*.py'
23+ - ' src/ **/*.py'
2324 - ' src/backend/requirements*.txt'
25+ - ' src/pytest.ini'
2426 - ' .github/workflows/test.yml'
2527
2628permissions :
2729 contents : read
2830 actions : read
2931
32+ concurrency :
33+ group : test-${{ github.ref }}
34+ cancel-in-progress : true
35+
3036jobs :
3137 backend_tests :
3238 runs-on : ubuntu-latest
3945 uses : actions/setup-python@v6
4046 with :
4147 python-version : " 3.11"
48+ cache : ' pip'
49+ cache-dependency-path : src/backend/requirements*.txt
4250
4351 - name : Install Backend Dependencies
4452 run : |
You can’t perform that action at this time.
0 commit comments