Skip to content

Commit acee1f3

Browse files
NirajC-MicrosoftRoopan-MicrosoftAjitPadhi-MicrosoftPavan-Microsoftross-p-smith
authored
chore: Dev to main (#2037)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Roopan-Microsoft <[email protected]> Co-authored-by: Ajit Padhi <[email protected]> Co-authored-by: Roopan P M <[email protected]> Co-authored-by: Pavan-Microsoft <[email protected]> Co-authored-by: Ross Smith <[email protected]> Co-authored-by: gpickett <[email protected]> Co-authored-by: Francia Riesco <[email protected]> Co-authored-by: Francia Riesco <[email protected]> Co-authored-by: Prajwal D C <[email protected]> Co-authored-by: Harmanpreet-Microsoft <[email protected]> Co-authored-by: UtkarshMishra-Microsoft <[email protected]> Co-authored-by: Priyanka-Microsoft <[email protected]> Co-authored-by: Prasanjeet-Microsoft <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kiran-Siluveru-Microsoft <[email protected]> Co-authored-by: Prashant-Microsoft <[email protected]> Co-authored-by: Rohini-Microsoft <[email protected]> Co-authored-by: Avijit-Microsoft <[email protected]> Co-authored-by: RaviKiran-Microsoft <[email protected]> Co-authored-by: Somesh Joshi <[email protected]> Co-authored-by: Himanshi Agrawal <[email protected]> Co-authored-by: pradeepjha-microsoft <[email protected]> Co-authored-by: Harmanpreet Kaur <[email protected]> Co-authored-by: Bangarraju-Microsoft <[email protected]> Co-authored-by: Harsh-Microsoft <[email protected]> Co-authored-by: Kanchan-Microsoft <[email protected]> Co-authored-by: Cristopher Coronado <[email protected]> Co-authored-by: Cristopher Coronado Moreira <[email protected]> Co-authored-by: Vamshi-Microsoft <[email protected]> Co-authored-by: Thanusree-Microsoft <[email protected]> Co-authored-by: Rohini-Microsoft <[email protected]> Co-authored-by: Kingshuk-Microsoft <[email protected]> Co-authored-by: Ayaz-Microsoft <[email protected]> Co-authored-by: Abdul-Microsoft <[email protected]> Co-authored-by: Prekshith-Microsoft <[email protected]> Co-authored-by: Rafi-Microsoft <[email protected]>
1 parent bfd0791 commit acee1f3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+8827
-2656
lines changed

.github/workflows/bicep-audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
tools: templateanalyzer
3030

3131
- name: Upload alerts to Security tab
32-
uses: github/codeql-action/upload-sarif@v3
32+
uses: github/codeql-action/upload-sarif@v4
3333
if: github.repository_owner == 'Azure-Samples'
3434
with:
3535
sarif_file: ${{ steps.msdo.outputs.sarifFile }}

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,11 @@ jobs:
2828
with:
2929
files: |
3030
**/*.md
31-
32-
3331
# For PR: Check broken links only in changed files
3432
- name: Check Broken Links in Changed Markdown Files
3533
id: lychee-check-pr
3634
if: github.event_name == 'pull_request' && steps.changed-markdown-files.outputs.any_changed == 'true'
37-
uses: lycheeverse/lychee-action@v2.4.1
35+
uses: lycheeverse/lychee-action@v2.7.0
3836
with:
3937
args: >
4038
--verbose --exclude-mail --no-progress --exclude ^https?://
@@ -47,7 +45,7 @@ jobs:
4745
- name: Check Broken Links in All Markdown Files in Entire Repo (Manual Trigger)
4846
id: lychee-check-manual
4947
if: github.event_name == 'workflow_dispatch'
50-
uses: lycheeverse/lychee-action@v2.6.1
48+
uses: lycheeverse/lychee-action@v2.7.0
5149
with:
5250
args: >
5351
--verbose --exclude-mail --no-progress --exclude ^https?://

.github/workflows/build-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v5
32+
uses: actions/checkout@v6
3333

3434
- name: Docker Login to cwydcontainerreg (Main)
3535
if: ${{ inputs.push == true && github.ref_name == 'main' }}

.github/workflows/ci.yml

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

417417
steps:
418418
- name: Checkout code
419-
uses: actions/checkout@v5
419+
uses: actions/checkout@v6
420420

421421
- name: Destroy resources
422422
uses: devcontainers/[email protected]

.github/workflows/comment_coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
github.event.workflow_run.conclusion != 'cancelled'
1919
steps:
2020
- name: Download artifact
21-
uses: actions/download-artifact@v5
21+
uses: actions/download-artifact@v7
2222
with:
2323
name: coverage
2424
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -39,7 +39,7 @@ jobs:
3939
return response.data[0]?.number ?? "";
4040
retries: 3
4141
- name: Comment coverage
42-
uses: MishaKav/pytest-coverage-comment@13d3c18e21895566c746187c9ea74736372e5e91
42+
uses: MishaKav/pytest-coverage-comment@ae0e8a539a3f310aefb3bfb6a2209778a21fa42b
4343
with:
4444
pytest-xml-coverage-path: coverage.xml
4545
junitxml-path: coverage-junit.xml

.github/workflows/create-release.yml

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

1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v5
20+
uses: actions/checkout@v6
2121
with:
2222
ref: ${{ github.event.workflow_run.head_sha }}
2323

.github/workflows/scheduled-Dependabot-PRs-Auto-Merge.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
runs-on: ubuntu-latest
3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v5
39+
uses: actions/checkout@v6
4040

4141
- name: Install GitHub CLI
4242
run: |
@@ -96,7 +96,7 @@ jobs:
9696
echo "✅ PR #$pr_number is mergeable. Skipping rebase."
9797
fi
9898
done < matched_prs.txt
99-
99+
100100
- name: Auto-Merge PRs using available strategy
101101
if: success()
102102
env:
@@ -149,4 +149,4 @@ jobs:
149149
if [[ "$mergeable" != "MERGEABLE" && "$mergeable" != "CONFLICTING" ]]; then
150150
echo "❌ Mergeability undetermined after $max_attempts attempts. Skipping PR #$pr_number"
151151
fi
152-
done < matched_prs.txt || echo "⚠️ Completed loop with some errors, but continuing gracefully."
152+
done < matched_prs.txt || echo "⚠️ Completed loop with some errors, but continuing gracefully."

.github/workflows/stale-bot.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: Checkout Repository
27-
uses: actions/checkout@v5
27+
uses: actions/checkout@v6
2828
with:
2929
fetch-depth: 0 # Fetch full history for accurate branch checks
3030
- name: Fetch All Branches
3131
run: git fetch --all --prune
3232
- name: List Merged Branches With No Activity in Last 3 Months
3333
run: |
34-
34+
3535
echo "Branch Name,Last Commit Date,Committer,Committed In Branch,Action" > merged_branches_report.csv
36-
36+
3737
for branch in $(git for-each-ref --format '%(refname:short) %(committerdate:unix)' refs/remotes/origin | awk -v date=$(date -d '3 months ago' +%s) '$2 < date {print $1}'); do
3838
if [[ "$branch" != "origin/main" && "$branch" != "origin/dev" ]]; then
3939
branch_name=${branch#origin/}
@@ -47,7 +47,7 @@ jobs:
4747
done
4848
- name: List PR Approved and Merged Branches Older Than 30 Days
4949
run: |
50-
50+
5151
for branch in $(gh api repos/${{ github.repository }}/pulls --jq '.[] | select(.merged_at != null and (.base.ref == "main" or .base.ref == "dev")) | select(.merged_at | fromdateiso8601 < (now - 2592000)) | .head.ref'); do
5252
# Ensure the branch exists locally before getting last commit date
5353
git fetch origin "$branch" || echo "Could not fetch branch: $branch"
@@ -60,7 +60,7 @@ jobs:
6060
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6161
- name: List Open PR Branches With No Activity in Last 3 Months
6262
run: |
63-
63+
6464
for branch in $(gh api repos/${{ github.repository }}/pulls --state open --jq '.[] | select(.base.ref == "main" or .base.ref == "dev") | .head.ref'); do
6565
# Ensure the branch exists locally before getting last commit date
6666
git fetch origin "$branch" || echo "Could not fetch branch: $branch"
@@ -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@v4
78+
uses: actions/upload-artifact@v6
7979
with:
8080
name: merged-branches-report
8181
path: merged_branches_report.csv

.github/workflows/test-automation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020

2121
steps:
2222
- name: Checkout repository
23-
uses: actions/checkout@v5
23+
uses: actions/checkout@v6
2424

2525
- name: Set up Python
26-
uses: actions/setup-python@v5
26+
uses: actions/setup-python@v6
2727
with:
2828
python-version: '3.13'
2929

@@ -69,7 +69,7 @@ jobs:
6969

7070
- name: Upload test report
7171
id: upload_report
72-
uses: actions/upload-artifact@v4
72+
uses: actions/upload-artifact@v6
7373
if: ${{ !cancelled() }}
7474
with:
7575
name: cwyd-test-report

.github/workflows/tests.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Test Workflow with Coverage
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches: [main, dev, demo]
67
paths:
@@ -30,7 +31,7 @@ jobs:
3031
name: Tests
3132
runs-on: ubuntu-latest
3233
steps:
33-
- uses: actions/checkout@v5
34+
- uses: actions/checkout@v6
3435
- name: Install Poetry
3536
run: pip install poetry
3637
- name: Setup python
@@ -70,7 +71,7 @@ jobs:
7071
result-encoding: string
7172
retries: 3
7273
- name: Download main coverage artifact
73-
uses: actions/download-artifact@v5
74+
uses: actions/download-artifact@v7
7475
if: github.event_name == 'pull_request' && steps.coverage-artifact.outputs.result != ''
7576
continue-on-error: true # There is a chance that the artifact doesn't exist, or has expired
7677
with:
@@ -90,8 +91,8 @@ jobs:
9091
9192
echo "MIN_COVERAGE=$MIN_COVERAGE" >> "$GITHUB_OUTPUT"
9293
- name: Run Python Tests
93-
run: make python-test optional_args="--junitxml=coverage-junit.xml --cov=. --cov-report xml:coverage.xml --cov-fail-under ${{ steps.coverage-value.outputs.MIN_COVERAGE }} ./code/tests"
94-
- uses: actions/upload-artifact@v4
94+
run: make python-test optional_args="--junitxml=coverage-junit.xml --cov=code --cov-report=term-missing --cov-report=xml:coverage.xml --cov-fail-under=${{ steps.coverage-value.outputs.MIN_COVERAGE }} ./code/tests"
95+
- uses: actions/upload-artifact@v6
9596
if: ${{ !cancelled() }}
9697
with:
9798
name: coverage
@@ -100,7 +101,7 @@ jobs:
100101
coverage.xml
101102
if-no-files-found: error
102103
- name: Setup node
103-
uses: actions/setup-node@v5
104+
uses: actions/setup-node@v6
104105
with:
105106
node-version: 20
106107
cache: "npm"

0 commit comments

Comments
 (0)