Skip to content

Add a Done gate to the v4 CI - #2989

Merged
nohwnd merged 1 commit into
rel/4.x.xfrom
ci/gh-actions-rel4-done
Aug 22, 2026
Merged

Add a Done gate to the v4 CI#2989
nohwnd merged 1 commit into
rel/4.x.xfrom
ci/gh-actions-rel4-done

Conversation

@nohwnd

@nohwnd nohwnd commented Aug 22, 2026

Copy link
Copy Markdown
Member

Adds a Done job after the test matrix, so branch protection on this branch requires one check instead of every leg. Same check name as main (#2905) and rel/5.x.x (#2988), which is the point, one branch policy then covers all three.

The workflow is renamed to CI (v4). test-report.yml on main runs after every workflow named CI and renders the results, and Pester 4 can only write NUnit 2.5 XML, which dorny/test-reporter cannot read. The job names are untouched, so the check is still Done here.

upload-artifact goes to v7 while here, v4 still ran it on Node 20.

Note this branch has no code-analysis.yml, so PSScriptAnalyzer can never report here and has to come off this branch's rule.

🤖

One job after the matrix, so branch protection requires "Done" instead of
listing every leg. Same check name as main and rel/5.x.x, which is the point,
one branch policy covers all three.

Renames the workflow to "CI (v4)". test-report.yml on main runs after every
workflow named "CI" and renders its results, and Pester 4 can only write NUnit
2.5 XML, which dorny/test-reporter cannot read.

upload-artifact v7 while here, v4 still ran on Node 20.

🤖
@nohwnd
nohwnd merged commit 8d1848f into rel/4.x.x Aug 22, 2026
4 checks passed
@nohwnd
nohwnd deleted the ci/gh-actions-rel4-done branch August 22, 2026 10:54
nohwnd added a commit that referenced this pull request Aug 22, 2026
Renaming the workflow in #2989 was not enough. A workflow is identified by its
file path, and the name comes from the copy on the default branch, so this file
was still labelled "CI" because main has a ci.yml. test-report.yml on main runs
after every workflow named "CI", and it failed on every v4 run, Pester 4 writes
NUnit 2.5 XML that dorny/test-reporter cannot read.

ci.yml becomes ci-v4.yml, which makes it a separate workflow with its own name.
The gate job is still "Done".

🤖
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant