Skip to content

Commit cde642d

Browse files
committed
Merge branch 'main' into browser_all
2 parents 691c651 + 9e9eb9b commit cde642d

File tree

408 files changed

+8604
-6570
lines changed

Some content is hidden

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

408 files changed

+8604
-6570
lines changed

.config/CredScanSuppressions.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,12 @@
77
"src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DSA/DSAKeyPemTests.cs",
88
"src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/EC/ECKeyPemTests.cs",
99
"src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/RSA/RSAKeyPemTests.cs",
10-
"src/libraries/Common/tests/System/Security/Cryptography/X509Certificates/TestData.cs",
11-
"src/tests/FunctionalTests/Android/Device_Emulator/gRPC/grpc-dotnet/testassets/Certs/InteropTests/server1.key"
10+
"src/libraries/Common/tests/System/Security/Cryptography/X509Certificates/TestData.cs"
1211
],
1312
"placeholder": [
1413
"-----BEGIN PRIVATE KEY-----",
1514
"-----BEGIN * PRIVATE KEY-----"
1615
]
17-
},
18-
{
19-
"_justification": "Suppression approved. Private key for testing purpose.",
20-
"file": [
21-
"src/tests/FunctionalTests/Android/Device_Emulator/gRPC/grpc-dotnet/testassets/Certs/InteropTests/server1.pfx"
22-
]
2316
}
2417
]
2518
}
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# This workflow generates breaking change documentation for merged pull requests.
2+
# It runs automatically when a PR with the 'needs-breaking-change-doc-created' label is merged,
3+
# or when that label is added to an already merged PR.
4+
# It can be manually triggered to generate documentation for any specific PR.
5+
#
6+
# The workflow uses GitHub Models AI to analyze the PR changes and create appropriate
7+
# breaking change documentation that gets posted as a PR comment as a clickable link
8+
# to open an issue in the dotnet/docs repository.
9+
name: Breaking Change Documentation
10+
11+
on:
12+
pull_request_target:
13+
types: [closed, labeled]
14+
workflow_dispatch:
15+
inputs:
16+
pr_number:
17+
description: "Pull Request Number"
18+
required: true
19+
type: number
20+
21+
permissions:
22+
contents: read
23+
pull-requests: write
24+
models: read
25+
26+
jobs:
27+
generate-breaking-change-doc:
28+
if: |
29+
github.repository_owner == 'dotnet' && (
30+
(github.event_name == 'pull_request_target' && github.event.action == 'closed' && github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'needs-breaking-change-doc-created')) ||
31+
(github.event_name == 'pull_request_target' && github.event.action == 'labeled' && github.event.pull_request.merged == true && github.event.label.name == 'needs-breaking-change-doc-created') ||
32+
github.event_name == 'workflow_dispatch'
33+
)
34+
runs-on: ubuntu-latest
35+
36+
steps:
37+
- name: Checkout repository
38+
uses: actions/checkout@v4
39+
with:
40+
fetch-depth: 0 # Need full history for version detection
41+
42+
- name: Verify PowerShell
43+
run: |
44+
pwsh --version
45+
46+
- name: Verify GitHub CLI
47+
run: |
48+
gh --version
49+
50+
- name: Install GitHub Models extension
51+
run: |
52+
gh extension install github/gh-models --force
53+
env:
54+
GH_TOKEN: ${{ github.token }}
55+
56+
- name: Fetch latest tags
57+
run: |
58+
git fetch --tags --force
59+
60+
- name: Run breaking change documentation script
61+
shell: pwsh
62+
working-directory: eng/breakingChanges
63+
run: ./breaking-change-doc.ps1 -PrNumber ${{ inputs.pr_number || github.event.pull_request.number }} -Comment
64+
env:
65+
GH_TOKEN: ${{ github.token }}
66+
GITHUB_MODELS_API_KEY: ${{ secrets.MODELS_TOKEN }}
67+
68+
- name: Upload artifacts
69+
uses: actions/upload-artifact@v4
70+
with:
71+
name: breaking-change-doc-artifacts-${{ inputs.pr_number || github.event.pull_request.number }}
72+
path: artifacts/docs/breakingChanges/
73+
retention-days: 7

SECURITY.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@
22

33
## Supported Versions
44

5-
The .NET Core and ASP.NET Core support policy, including supported versions can be found at the [.NET Core Support Policy Page](https://dotnet.microsoft.com/platform/support/policy/dotnet-core).
5+
The .NET, .NET Core and ASP.NET Core support policy, including supported versions can be found at the [.NET and .NET Core Support Policy Page](https://dotnet.microsoft.com/platform/support/policy/dotnet-core).
66

77
## Reporting a Vulnerability
88

9+
**Please do not open issues on GitHub for anything you think might have a security implication.**
10+
911
Security issues and bugs should be reported privately to the Microsoft Security Response Center (MSRC), via the [MSRC Researcher Portal](https://msrc.microsoft.com/report/vulnerability/new).
10-
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your
11-
original message. Further information can be found in the [MSRC Report an Issue FAQ](https://www.microsoft.com/en-us/msrc/faqs-report-an-issue).
1212

13-
Reports via MSRC may qualify for the .NET Core Bug Bounty. Details of the .NET Core Bug Bounty including terms and conditions are at [https://aka.ms/corebounty](https://aka.ms/corebounty).
13+
You should receive a response within 24 hours. If for some reason you do not, please follow up via the [MSRC Researcher Portal](https://msrc.microsoft.com/report/vulnerability/), using the Message functionality found at the bottom of the Activity tab on your vulnerability report.
14+
15+
Further information can be found in the MSRC [Report an issue and submission guidelines](https://www.microsoft.com/en-us/msrc/faqs-report-an-issue).
16+
17+
Reports via MSRC may qualify for the Microsoft .NET Bug Bounty. Details of the Microsoft .NET Bounty Program including terms and conditions are at [https://aka.ms/corebounty](https://aka.ms/corebounty).
1418

15-
Please do not open issues for anything you think might have a security implication.

0 commit comments

Comments
 (0)