Skip to content

Commit 2c95e7e

Browse files
authored
Merge branch 'master' into CA2021
2 parents dc96458 + 2d8040f commit 2c95e7e

File tree

229 files changed

+5546
-2119
lines changed

Some content is hidden

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

229 files changed

+5546
-2119
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/createReminders.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818

1919
steps:
2020
- name: check for reminder
21-
uses: agrc/create-reminder-action@23bc0dd98d215ad257a482ebc1bf38449e44c4f8 # v1.1.20
21+
uses: agrc/create-reminder-action@30624e347adbc7ff2dd287ad0632499552e048e8 # v1.1.22

.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: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
- github-mirror
1313
paths:
1414
- "**"
15+
- "*"
16+
- ".globalconfig"
1517
- "!.github/ISSUE_TEMPLATE/**"
1618
- "!.dependabot/config.yml"
1719
- "!.pipelines/**"
@@ -21,6 +23,7 @@ on:
2123
- master
2224
- release/**
2325
- github-mirror
26+
- "*-feature"
2427
# Path filters for PRs need to go into the changes job
2528

2629
concurrency:
@@ -29,7 +32,7 @@ concurrency:
2932

3033
env:
3134
DOTNET_CLI_TELEMETRY_OPTOUT: 1
32-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
35+
DOTNET_NOLOGO: 1
3336
FORCE_FEATURE: 'False'
3437
FORCE_PACKAGE: 'False'
3538
NUGET_KEY: none
@@ -52,7 +55,7 @@ jobs:
5255
source: ${{ steps.filter.outputs.source }}
5356
steps:
5457
- name: checkout
55-
uses: actions/checkout@v4
58+
uses: actions/checkout@v5
5659
with:
5760
persist-credentials: false
5861

@@ -69,7 +72,7 @@ jobs:
6972
if: ${{ needs.changes.outputs.source == 'true' }}
7073
steps:
7174
- name: checkout
72-
uses: actions/checkout@v4
75+
uses: actions/checkout@v5
7376
with:
7477
fetch-depth: 1000
7578

@@ -84,7 +87,7 @@ jobs:
8487
runs-on: ubuntu-latest
8588
steps:
8689
- name: checkout
87-
uses: actions/checkout@v4
90+
uses: actions/checkout@v5
8891
with:
8992
fetch-depth: 1000
9093
- name: Linux Unelevated CI
@@ -101,7 +104,7 @@ jobs:
101104
runs-on: ubuntu-latest
102105
steps:
103106
- name: checkout
104-
uses: actions/checkout@v4
107+
uses: actions/checkout@v5
105108
with:
106109
fetch-depth: 1000
107110
- name: Linux Elevated CI
@@ -118,7 +121,7 @@ jobs:
118121
runs-on: ubuntu-latest
119122
steps:
120123
- name: checkout
121-
uses: actions/checkout@v4
124+
uses: actions/checkout@v5
122125
with:
123126
fetch-depth: 1000
124127
- name: Linux Unelevated Others
@@ -135,7 +138,7 @@ jobs:
135138
runs-on: ubuntu-latest
136139
steps:
137140
- name: checkout
138-
uses: actions/checkout@v4
141+
uses: actions/checkout@v5
139142
with:
140143
fetch-depth: 1000
141144
- name: Linux Elevated Others
@@ -152,7 +155,7 @@ jobs:
152155
runs-on: ubuntu-latest
153156
steps:
154157
- name: checkout
155-
uses: actions/checkout@v4
158+
uses: actions/checkout@v5
156159
with:
157160
fetch-depth: 1000
158161
- name: Verify xUnit test results
@@ -179,17 +182,17 @@ jobs:
179182

180183
steps:
181184
- name: Checkout repository
182-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
185+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
183186
with:
184187
fetch-depth: '0'
185188

186-
- uses: actions/setup-dotnet@v4
189+
- uses: actions/setup-dotnet@v5
187190
with:
188191
global-json-file: ./global.json
189192

190193
# Initializes the CodeQL tools for scanning.
191194
- name: Initialize CodeQL
192-
uses: github/codeql-action/init@fca7ace96b7d713c7035871441bd52efbe39e27e # v3.28.19
195+
uses: github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3.29.5
193196
with:
194197
languages: ${{ matrix.language }}
195198
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -215,7 +218,7 @@ jobs:
215218
shell: pwsh
216219
217220
- name: Perform CodeQL Analysis
218-
uses: github/codeql-action/analyze@fca7ace96b7d713c7035871441bd52efbe39e27e # v3.28.19
221+
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.29.5
219222

220223
ready_to_merge:
221224
name: Linux ready to merge
@@ -242,7 +245,7 @@ jobs:
242245
# runs-on: ubuntu-20.04
243246
# steps:
244247
# - name: checkout
245-
# uses: actions/checkout@v4
248+
# uses: actions/checkout@v5
246249
# with:
247250
# fetch-depth: 1000
248251
# - name: Verify xUnit test results

.github/workflows/macos-ci.yml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
- github-mirror
1111
paths:
1212
- "**"
13+
- "*"
14+
- ".globalconfig"
1315
- "!.github/ISSUE_TEMPLATE/**"
1416
- "!.dependabot/config.yml"
1517
- "!.pipelines/**"
@@ -19,6 +21,7 @@ on:
1921
- master
2022
- release/**
2123
- github-mirror
24+
- "*-feature"
2225
# Path filters for PRs need to go into the changes job
2326

2427
concurrency:
@@ -27,7 +30,7 @@ concurrency:
2730

2831
env:
2932
DOTNET_CLI_TELEMETRY_OPTOUT: 1
30-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
33+
DOTNET_NOLOGO: 1
3134
FORCE_FEATURE: 'False'
3235
FORCE_PACKAGE: 'False'
3336
HOMEBREW_NO_ANALYTICS: 1
@@ -52,7 +55,7 @@ jobs:
5255
source: ${{ steps.filter.outputs.source }}
5356
steps:
5457
- name: checkout
55-
uses: actions/checkout@v4
58+
uses: actions/checkout@v5
5659

5760
- name: Change Detection
5861
id: filter
@@ -62,12 +65,12 @@ jobs:
6265

6366
ci_build:
6467
name: Build PowerShell
65-
runs-on: macos-latest
68+
runs-on: macos-15-large
6669
needs: changes
6770
if: ${{ needs.changes.outputs.source == 'true' }}
6871
steps:
6972
- name: checkout
70-
uses: actions/checkout@v4
73+
uses: actions/checkout@v5
7174
with:
7275
fetch-depth: 1000
7376
- name: Build
@@ -78,10 +81,10 @@ jobs:
7881
- ci_build
7982
- changes
8083
if: ${{ needs.changes.outputs.source == 'true' }}
81-
runs-on: macos-latest
84+
runs-on: macos-15-large
8285
steps:
8386
- name: checkout
84-
uses: actions/checkout@v4
87+
uses: actions/checkout@v5
8588
with:
8689
fetch-depth: 1000
8790
- name: macOS Unelevated CI
@@ -95,10 +98,10 @@ jobs:
9598
- ci_build
9699
- changes
97100
if: ${{ needs.changes.outputs.source == 'true' }}
98-
runs-on: macos-latest
101+
runs-on: macos-15-large
99102
steps:
100103
- name: checkout
101-
uses: actions/checkout@v4
104+
uses: actions/checkout@v5
102105
with:
103106
fetch-depth: 1000
104107
- name: macOS Elevated CI
@@ -112,10 +115,10 @@ jobs:
112115
- ci_build
113116
- changes
114117
if: ${{ needs.changes.outputs.source == 'true' }}
115-
runs-on: macos-latest
118+
runs-on: macos-15-large
116119
steps:
117120
- name: checkout
118-
uses: actions/checkout@v4
121+
uses: actions/checkout@v5
119122
with:
120123
fetch-depth: 1000
121124
- name: macOS Unelevated Others
@@ -129,10 +132,10 @@ jobs:
129132
- ci_build
130133
- changes
131134
if: ${{ needs.changes.outputs.source == 'true' }}
132-
runs-on: macos-latest
135+
runs-on: macos-15-large
133136
steps:
134137
- name: checkout
135-
uses: actions/checkout@v4
138+
uses: actions/checkout@v5
136139
with:
137140
fetch-depth: 1000
138141
- name: macOS Elevated Others
@@ -149,7 +152,7 @@ jobs:
149152
runs-on: ubuntu-latest
150153
steps:
151154
- name: checkout
152-
uses: actions/checkout@v4
155+
uses: actions/checkout@v5
153156
with:
154157
fetch-depth: 1000
155158
- name: Verify xUnit test results
@@ -160,10 +163,10 @@ jobs:
160163
- changes
161164
if: ${{ needs.changes.outputs.source == 'true' }}
162165
runs-on:
163-
- macos-latest
166+
- macos-15-large
164167
steps:
165168
- name: checkout
166-
uses: actions/checkout@v4
169+
uses: actions/checkout@v5
167170
- name: Bootstrap packaging
168171
if: success() || failure()
169172
run: |-

.github/workflows/markdownLink.yml

Lines changed: 4 additions & 4 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`
@@ -39,12 +39,12 @@ jobs:
3939
# Ref: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
4040
run: grep -v '^#' tools/super-linter/config/super-linter.env >> "$GITHUB_ENV"
4141
- name: Lint Markdown
42-
uses: super-linter/super-linter@12150456a73e248bdc94d0794898f94e23127c88 # v7.4.0
42+
uses: super-linter/super-linter@5119dcd8011e92182ce8219d9e9efc82f16fddb6 # v8.0.0
4343
env:
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/processReminders.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818

1919
steps:
2020
- name: check reminders and notify
21-
uses: agrc/reminder-action@c0ccba185490ad2c0f1de824d625f71d705a6312 # v1.0.17
21+
uses: agrc/reminder-action@3095f64f8f0c26c751bee802cb1008ece5953078 # v1.0.18

0 commit comments

Comments
 (0)