Skip to content

Commit c78b1ea

Browse files
authored
Merge branch 'main' into RefStructEnumerators
2 parents ccc2e4b + b658cd2 commit c78b1ea

File tree

2,789 files changed

+110492
-43531
lines changed

Some content is hidden

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

2,789 files changed

+110492
-43531
lines changed

.config/dotnet-tools.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
"isRoot": true,
44
"tools": {
55
"coverlet.console": {
6-
"version": "6.0.0",
6+
"version": "6.0.4",
77
"commands": [
88
"coverlet"
99
]
1010
},
1111
"dotnet-reportgenerator-globaltool": {
12-
"version": "5.3.0",
12+
"version": "5.4.3",
1313
"commands": [
1414
"reportgenerator"
1515
]
1616
},
1717
"microsoft.dotnet.xharness.cli": {
18-
"version": "10.0.0-prerelease.24610.1",
18+
"version": "10.0.0-prerelease.25103.1",
1919
"commands": [
2020
"xharness"
2121
]

.devcontainer/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,5 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
2424
liblttng-ust-dev \
2525
libssl-dev \
2626
libkrb5-dev \
27-
zlib1g-dev \
2827
ninja-build \
2928
tzdata

.devcontainer/android/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
2121
liblttng-ust-dev \
2222
libssl-dev \
2323
libkrb5-dev \
24-
zlib1g-dev \
2524
ninja-build \
26-
zlib1g-dev \
2725
ninja-build \
2826
openjdk-17-jdk \
2927
pulseaudio

.devcontainer/wasm-multiThreaded/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
2424
liblttng-ust-dev \
2525
libssl-dev \
2626
libkrb5-dev \
27-
zlib1g-dev \
2827
ninja-build
2928

3029
SHELL ["/bin/bash", "-c"]

.devcontainer/wasm/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
2323
liblttng-ust-dev \
2424
libssl-dev \
2525
libkrb5-dev \
26-
zlib1g-dev \
2726
ninja-build
2827

2928
SHELL ["/bin/bash", "-c"]

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@
6868
# this only affects the repo's language statistics
6969
*.h linguist-language=C
7070

71+
# don't treat files in 'build' directories as generated
72+
**/build/** linguist-generated=false
73+
7174
# CLR specific
7275
src/coreclr/pal/tests/palsuite/paltestlist.txt text eol=lf
7376
src/coreclr/pal/tests/palsuite/paltestlist_to_be_reviewed.txt text eol=lf

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,4 @@
112112
/docs/area-owners.* @jeffhandley
113113
/docs/issue*.md @jeffhandley
114114
/.github/policies/ @jeffhandley @mkArtakMSFT
115+
/.github/workflows/ @jeffhandley @dotnet/runtime-infrastructure

.github/workflows/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Workflows
2+
3+
General guidance:
4+
5+
Please make sure to include the @dotnet/runtime-infrastructure group as a reviewer of your PRs.
6+
7+
For workflows that are triggered by pull requests, refer to GitHub's documentation for the `pull_request` and `pull_request_target` events. The `pull_request_target` event is the more common use case in this repository as it runs the workflow in the context of the target branch instead of in the context of the pull request's fork or branch. However, workflows that need to consume the contents of the pull request need to use the `pull_request` event. There are security considerations with each of the events though.
8+
9+
Most workflows are intended to run only in the `dotnet/runtime` repository and not in forks. To force workflow jobs to be skipped in forks, each job should apply an `if` statement that checks the repository name or owner. Either approach works, but checking only the repository owner allows the workflow to run in copies or forks withing the dotnet org.
10+
11+
```yaml
12+
jobs:
13+
job-1:
14+
# Do not run this job in forks
15+
if: github.repository == 'dotnet/runtime'
16+
17+
job-2:
18+
# Do not run this job in forks outside the dotnet org
19+
if: github.repository_owner == 'dotnet'
20+
```
21+
22+
Refer to GitHub's [Workflows in forked repositories](https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#workflows-in-forked-repositories) and [pull_request_target](https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request_target) documentation for more information.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: check-no-merge-label
2+
3+
permissions:
4+
pull-requests: read
5+
6+
on:
7+
pull_request_target:
8+
types: [labeled, unlabeled]
9+
branches:
10+
- 'main'
11+
- 'release/**'
12+
13+
jobs:
14+
check-labels:
15+
if: github.repository == 'dotnet/runtime'
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Check 'NO-MERGE' label
19+
run: |
20+
echo "Merging permission is disabled when the 'NO-MERGE' label is applied."
21+
if [ "${{ contains(github.event.pull_request.labels.*.name, 'NO-MERGE') }}" = "false" ]; then
22+
exit 0
23+
else
24+
echo "::error:: The 'NO-MERGE' label was applied to the PR. Merging is disabled."
25+
exit 1
26+
fi

.github/workflows/check-service-labels.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,19 @@ permissions:
44
pull-requests: read
55

66
on:
7-
pull_request:
8-
types: [opened, edited, reopened, labeled, unlabeled, synchronize]
7+
pull_request_target:
8+
types: [labeled, unlabeled]
99
branches:
1010
- 'release/**'
1111

1212
jobs:
1313
check-labels:
14+
if: github.repository == 'dotnet/runtime'
1415
runs-on: ubuntu-latest
1516
steps:
1617
- name: Check 'Servicing-approved' label
1718
run: |
18-
echo "Merging permission is enabled for servicing PRs when the `Servicing-approved` label is applied."
19+
echo "Merging permission is enabled for servicing PRs when the 'Servicing-approved' label is applied."
1920
if [ "${{ contains(github.event.pull_request.labels.*.name, 'Servicing-approved') }}" = "true" ]; then
2021
exit 0
2122
else

0 commit comments

Comments
 (0)