Skip to content

Commit f436f36

Browse files
Merge branch 'PowerShell:master' into master
2 parents d607241 + 00ad203 commit f436f36

File tree

205 files changed

+5096
-1921
lines changed

Some content is hidden

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

205 files changed

+5096
-1921
lines changed

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ dotnet_code_quality_unused_parameters = non_public:suggestion
126126
# https://learn.microsoft.com/en-gb/dotnet/fundamentals/code-analysis/quality-rules/ca1859
127127
dotnet_diagnostic.CA1859.severity = suggestion
128128

129+
# Disable SA1600 (ElementsMustBeDocumented) for test directory only
130+
[test/**/*.cs]
131+
dotnet_diagnostic.SA1600.severity = none
132+
129133
# CSharp code style settings:
130134
[*.cs]
131135

.github/ISSUE_TEMPLATE/WG_member_request.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,3 @@ body:
6464
I have the following public links to articles, code, or other resources that demonstrate my skills...
6565
validations:
6666
required: true
67-

.github/workflows/dependency-review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: 'Checkout Repository'
20-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2121
- name: 'Dependency Review'
22-
uses: actions/dependency-review-action@da24556b548a50705dd671f47852072ea4c105d9 # v4.7.1
22+
uses: actions/dependency-review-action@595b5aeba73380359d98a5e087f648dbb0edce1b # v4.7.3

.github/workflows/labels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818

1919
steps:
2020
- name: Check out the repository
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v5
2222

2323
- name: Verify PR has label starting with 'cl-'
2424
id: verify-labels
25-
uses: actions/github-script@v7
25+
uses: actions/github-script@v8
2626
with:
2727
script: |
2828
const labels = context.payload.pull_request.labels.map(label => label.name.toLowerCase());

.github/workflows/linux-ci.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ on:
2121
- master
2222
- release/**
2323
- github-mirror
24+
- "*-feature"
2425
# Path filters for PRs need to go into the changes job
2526

2627
concurrency:
@@ -29,7 +30,7 @@ concurrency:
2930

3031
env:
3132
DOTNET_CLI_TELEMETRY_OPTOUT: 1
32-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
33+
DOTNET_NOLOGO: 1
3334
FORCE_FEATURE: 'False'
3435
FORCE_PACKAGE: 'False'
3536
NUGET_KEY: none
@@ -52,7 +53,7 @@ jobs:
5253
source: ${{ steps.filter.outputs.source }}
5354
steps:
5455
- name: checkout
55-
uses: actions/checkout@v4
56+
uses: actions/checkout@v5
5657
with:
5758
persist-credentials: false
5859

@@ -69,7 +70,7 @@ jobs:
6970
if: ${{ needs.changes.outputs.source == 'true' }}
7071
steps:
7172
- name: checkout
72-
uses: actions/checkout@v4
73+
uses: actions/checkout@v5
7374
with:
7475
fetch-depth: 1000
7576

@@ -84,7 +85,7 @@ jobs:
8485
runs-on: ubuntu-latest
8586
steps:
8687
- name: checkout
87-
uses: actions/checkout@v4
88+
uses: actions/checkout@v5
8889
with:
8990
fetch-depth: 1000
9091
- name: Linux Unelevated CI
@@ -101,7 +102,7 @@ jobs:
101102
runs-on: ubuntu-latest
102103
steps:
103104
- name: checkout
104-
uses: actions/checkout@v4
105+
uses: actions/checkout@v5
105106
with:
106107
fetch-depth: 1000
107108
- name: Linux Elevated CI
@@ -118,7 +119,7 @@ jobs:
118119
runs-on: ubuntu-latest
119120
steps:
120121
- name: checkout
121-
uses: actions/checkout@v4
122+
uses: actions/checkout@v5
122123
with:
123124
fetch-depth: 1000
124125
- name: Linux Unelevated Others
@@ -135,7 +136,7 @@ jobs:
135136
runs-on: ubuntu-latest
136137
steps:
137138
- name: checkout
138-
uses: actions/checkout@v4
139+
uses: actions/checkout@v5
139140
with:
140141
fetch-depth: 1000
141142
- name: Linux Elevated Others
@@ -152,7 +153,7 @@ jobs:
152153
runs-on: ubuntu-latest
153154
steps:
154155
- name: checkout
155-
uses: actions/checkout@v4
156+
uses: actions/checkout@v5
156157
with:
157158
fetch-depth: 1000
158159
- name: Verify xUnit test results
@@ -179,17 +180,17 @@ jobs:
179180

180181
steps:
181182
- name: Checkout repository
182-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
183+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
183184
with:
184185
fetch-depth: '0'
185186

186-
- uses: actions/setup-dotnet@v4
187+
- uses: actions/setup-dotnet@v5
187188
with:
188189
global-json-file: ./global.json
189190

190191
# Initializes the CodeQL tools for scanning.
191192
- name: Initialize CodeQL
192-
uses: github/codeql-action/init@51f77329afa6477de8c49fc9c7046c15b9a4e79d # v3.29.5
193+
uses: github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3.29.5
193194
with:
194195
languages: ${{ matrix.language }}
195196
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -215,7 +216,7 @@ jobs:
215216
shell: pwsh
216217
217218
- name: Perform CodeQL Analysis
218-
uses: github/codeql-action/analyze@51f77329afa6477de8c49fc9c7046c15b9a4e79d # v3.29.5
219+
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.29.5
219220

220221
ready_to_merge:
221222
name: Linux ready to merge
@@ -242,7 +243,7 @@ jobs:
242243
# runs-on: ubuntu-20.04
243244
# steps:
244245
# - name: checkout
245-
# uses: actions/checkout@v4
246+
# uses: actions/checkout@v5
246247
# with:
247248
# fetch-depth: 1000
248249
# - name: Verify xUnit test results

.github/workflows/macos-ci.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ on:
1919
- master
2020
- release/**
2121
- github-mirror
22+
- "*-feature"
2223
# Path filters for PRs need to go into the changes job
2324

2425
concurrency:
@@ -27,7 +28,7 @@ concurrency:
2728

2829
env:
2930
DOTNET_CLI_TELEMETRY_OPTOUT: 1
30-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
31+
DOTNET_NOLOGO: 1
3132
FORCE_FEATURE: 'False'
3233
FORCE_PACKAGE: 'False'
3334
HOMEBREW_NO_ANALYTICS: 1
@@ -52,7 +53,7 @@ jobs:
5253
source: ${{ steps.filter.outputs.source }}
5354
steps:
5455
- name: checkout
55-
uses: actions/checkout@v4
56+
uses: actions/checkout@v5
5657

5758
- name: Change Detection
5859
id: filter
@@ -62,12 +63,12 @@ jobs:
6263

6364
ci_build:
6465
name: Build PowerShell
65-
runs-on: macos-latest
66+
runs-on: macos-15-large
6667
needs: changes
6768
if: ${{ needs.changes.outputs.source == 'true' }}
6869
steps:
6970
- name: checkout
70-
uses: actions/checkout@v4
71+
uses: actions/checkout@v5
7172
with:
7273
fetch-depth: 1000
7374
- name: Build
@@ -78,10 +79,10 @@ jobs:
7879
- ci_build
7980
- changes
8081
if: ${{ needs.changes.outputs.source == 'true' }}
81-
runs-on: macos-latest
82+
runs-on: macos-15-large
8283
steps:
8384
- name: checkout
84-
uses: actions/checkout@v4
85+
uses: actions/checkout@v5
8586
with:
8687
fetch-depth: 1000
8788
- name: macOS Unelevated CI
@@ -95,10 +96,10 @@ jobs:
9596
- ci_build
9697
- changes
9798
if: ${{ needs.changes.outputs.source == 'true' }}
98-
runs-on: macos-latest
99+
runs-on: macos-15-large
99100
steps:
100101
- name: checkout
101-
uses: actions/checkout@v4
102+
uses: actions/checkout@v5
102103
with:
103104
fetch-depth: 1000
104105
- name: macOS Elevated CI
@@ -112,10 +113,10 @@ jobs:
112113
- ci_build
113114
- changes
114115
if: ${{ needs.changes.outputs.source == 'true' }}
115-
runs-on: macos-latest
116+
runs-on: macos-15-large
116117
steps:
117118
- name: checkout
118-
uses: actions/checkout@v4
119+
uses: actions/checkout@v5
119120
with:
120121
fetch-depth: 1000
121122
- name: macOS Unelevated Others
@@ -129,10 +130,10 @@ jobs:
129130
- ci_build
130131
- changes
131132
if: ${{ needs.changes.outputs.source == 'true' }}
132-
runs-on: macos-latest
133+
runs-on: macos-15-large
133134
steps:
134135
- name: checkout
135-
uses: actions/checkout@v4
136+
uses: actions/checkout@v5
136137
with:
137138
fetch-depth: 1000
138139
- name: macOS Elevated Others
@@ -149,7 +150,7 @@ jobs:
149150
runs-on: ubuntu-latest
150151
steps:
151152
- name: checkout
152-
uses: actions/checkout@v4
153+
uses: actions/checkout@v5
153154
with:
154155
fetch-depth: 1000
155156
- name: Verify xUnit test results
@@ -160,10 +161,10 @@ jobs:
160161
- changes
161162
if: ${{ needs.changes.outputs.source == 'true' }}
162163
runs-on:
163-
- macos-latest
164+
- macos-15-large
164165
steps:
165166
- name: checkout
166-
uses: actions/checkout@v4
167+
uses: actions/checkout@v5
167168
- name: Bootstrap packaging
168169
if: success() || failure()
169170
run: |-

.github/workflows/markdownLink.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
if: github.repository_owner == 'PowerShell'
1414

1515
steps:
16-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1717
- uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 # v1
1818
with:
1919
use-quiet-mode: 'yes'
@@ -27,7 +27,7 @@ jobs:
2727
statuses: write
2828
runs-on: ubuntu-latest
2929
steps:
30-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
30+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3131
with:
3232
# Full git history is needed to get a proper
3333
# list of changed files within `super-linter`
@@ -44,7 +44,7 @@ jobs:
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4545
- name: Super-Linter correction instructions
4646
if: failure()
47-
uses: actions/github-script@v7.0.1
47+
uses: actions/github-script@v8
4848
with:
4949
script: |
5050
const message = "Super-Linter found issues in the changed files. Please check the logs for details. You can run the linter locally using the command: `./tools/super-lister/super-lister.ps1`.";

.github/workflows/markdownLinkDaily.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
if: github.repository == 'PowerShell/PowerShell'
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2222
- name: Check Links
2323
uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 # v1
2424
with:

.github/workflows/scorecards.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
steps:
3434
- name: "Checkout code"
35-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
35+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3636
with:
3737
persist-credentials: false
3838

@@ -67,6 +67,6 @@ jobs:
6767

6868
# Upload the results to GitHub's code scanning dashboard.
6969
- name: "Upload to code-scanning"
70-
uses: github/codeql-action/upload-sarif@51f77329afa6477de8c49fc9c7046c15b9a4e79d # v3.29.5
70+
uses: github/codeql-action/upload-sarif@192325c86100d080feab897ff886c34abd4c83a3 # v3.29.5
7171
with:
7272
sarif_file: results.sarif

0 commit comments

Comments
 (0)