Skip to content

Commit 61aa3d1

Browse files
Merge remote-tracking branch 'origin/dev' into psl-fixnoncofriming-cm
2 parents 29d181c + a4dd91b commit 61aa3d1

39 files changed

Lines changed: 4519 additions & 3811 deletions

.github/workflows/Create-Release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
ref: ${{ github.event.workflow_run.head_sha }}
2020

21-
- uses: codfish/semantic-release-action@v4
21+
- uses: codfish/semantic-release-action@v5
2222
id: semantic
2323
with:
2424
tag-format: 'v${version}'

.github/workflows/broken-links-checker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Get changed markdown files (PR only)
2525
id: changed-markdown-files
2626
if: github.event_name == 'pull_request'
27-
uses: tj-actions/changed-files@e0021407031f5be11a464abee9a0776171c79891 # v46
27+
uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v46
2828
with:
2929
files: |
3030
**/*.md
@@ -34,7 +34,7 @@ jobs:
3434
- name: Check Broken Links in Changed Markdown Files
3535
id: lychee-check-pr
3636
if: github.event_name == 'pull_request' && steps.changed-markdown-files.outputs.any_changed == 'true'
37-
uses: lycheeverse/lychee-action@v2.7.0
37+
uses: lycheeverse/lychee-action@v2.8.0
3838
with:
3939
args: >
4040
--verbose --no-progress --exclude ^https?://
@@ -47,7 +47,7 @@ jobs:
4747
- name: Check Broken Links in All Markdown Files in Entire Repo (Manual Trigger)
4848
id: lychee-check-manual
4949
if: github.event_name == 'workflow_dispatch'
50-
uses: lycheeverse/lychee-action@v2.7.0
50+
uses: lycheeverse/lychee-action@v2.8.0
5151
with:
5252
args: >
5353
--verbose --no-progress --exclude ^https?://

.github/workflows/build-docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: az acr login --name ${{ inputs.registry }}
3939

4040
- name: Set up Docker Buildx
41-
uses: docker/setup-buildx-action@v3
41+
uses: docker/setup-buildx-action@v4
4242

4343
- name: Get current date
4444
id: date
@@ -61,7 +61,7 @@ jobs:
6161
6262
6363
- name: Build Docker Image and optionally push
64-
uses: docker/build-push-action@v6
64+
uses: docker/build-push-action@v7
6565
with:
6666
context: .
6767
file: ${{ inputs.dockerfile }}

.github/workflows/job-deploy-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
WEBAPP_URL: ${{ steps.get_output_linux.outputs.WEBAPP_URL }}
5050
steps:
5151
- name: Checkout Code
52-
uses: actions/checkout@v4
52+
uses: actions/checkout@v6
5353

5454
- name: Validate Workflow Input Parameters
5555
shell: bash

.github/workflows/job-docker-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
echo "Generated unique Docker tag: $UNIQUE_TAG"
4646
4747
- name: Set up Docker Buildx
48-
uses: docker/setup-buildx-action@v3
48+
uses: docker/setup-buildx-action@v4
4949

5050
- name: Login to Azure
5151
uses: azure/login@v2
@@ -58,7 +58,7 @@ jobs:
5858
run: az acr login --name ${{ secrets.ACR_TEST_LOGIN_SERVER }}
5959

6060
- name: Build and Push Cod Mod backend Docker image
61-
uses: docker/build-push-action@v6
61+
uses: docker/build-push-action@v7
6262
env:
6363
DOCKER_BUILD_SUMMARY: false
6464
with:
@@ -70,7 +70,7 @@ jobs:
7070
${{ secrets.ACR_TEST_LOGIN_SERVER }}/cmsabackend:${{ steps.generate_docker_tag.outputs.IMAGE_TAG }}_${{ github.run_number }}
7171
7272
- name: Build and Push Cod Mod frontend Docker image
73-
uses: docker/build-push-action@v6
73+
uses: docker/build-push-action@v7
7474
env:
7575
DOCKER_BUILD_SUMMARY: false
7676
with:

.github/workflows/stale-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
env:
7676
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7777
- name: Upload CSV Report of Inactive Branches
78-
uses: actions/upload-artifact@v6
78+
uses: actions/upload-artifact@v7
7979
with:
8080
name: merged-branches-report
8181
path: merged_branches_report.csv

.github/workflows/test-automation-v2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136

137137
- name: Upload test report
138138
id: upload_report
139-
uses: actions/upload-artifact@v6
139+
uses: actions/upload-artifact@v7
140140
if: ${{ !cancelled() }}
141141
with:
142142
name: test-report

.github/workflows/test-automation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
python-version: '3.13'
3030

3131
- name: Azure CLI Login
32-
uses: azure/login@v2
32+
uses: azure/login@v3
3333
with:
3434
client-id: ${{ secrets.AZURE_CLIENT_ID }}
3535
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
@@ -82,7 +82,7 @@ jobs:
8282

8383
- name: Upload test report
8484
id: upload_report
85-
uses: actions/upload-artifact@v6
85+
uses: actions/upload-artifact@v7
8686
if: ${{ !cancelled() }}
8787
with:
8888
name: test-report

.github/workflows/test.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Test Workflow with Coverage - Code-Gen
22
permissions:
33
contents: read
44
actions: read
5+
pull-requests: write
56
on:
67
push:
78
branches:
@@ -112,10 +113,22 @@ jobs:
112113
if: env.skip_backend_tests == 'false'
113114
run: |
114115
cd src
115-
pytest tests/backend --cov=backend --cov-report=term-missing --cov-report=xml --cov-fail-under=80
116+
pytest tests/backend --cov=backend --cov-report=term-missing --cov-report=xml --cov-fail-under=80 --junitxml=pytest.xml
116117
117118
118119
120+
- name: Pytest Coverage Comment
121+
if: |
122+
always() &&
123+
github.event_name == 'pull_request' &&
124+
github.event.pull_request.head.repo.fork == false &&
125+
env.skip_backend_tests == 'false'
126+
uses: MishaKav/pytest-coverage-comment@26f986d2599c288bb62f623d29c2da98609e9cd4 # v1.6.0
127+
with:
128+
pytest-xml-coverage-path: src/coverage.xml
129+
junitxml-path: src/pytest.xml
130+
report-only-changed-files: true
131+
119132
- name: Skip Backend Tests
120133
if: env.skip_backend_tests == 'true'
121134
run: |

azure.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44

55
requiredVersions:
66
azd: '>= 1.18.0 != 1.23.9'
7-
bicep: '>= 0.33.0'
7+
bicep: '>= 0.33.0'
88

99
parameters:
1010
AzureAiServiceLocation:
@@ -22,4 +22,4 @@ deployment:
2222
parameters:
2323
AzureAiServiceLocation: ${{ parameters.AzureAiServiceLocation }}
2424
Prefix: ${{ parameters.Prefix }}
25-
baseUrl: ${{ parameters.baseUrl }}
25+
baseUrl: ${{ parameters.baseUrl }}

0 commit comments

Comments
 (0)