Skip to content

Move CI to GitHub Actions, same shape as main - #2988

Merged
nohwnd merged 2 commits into
rel/5.x.xfrom
ci/gh-actions-rel5
Aug 22, 2026
Merged

Move CI to GitHub Actions, same shape as main#2988
nohwnd merged 2 commits into
rel/5.x.xfrom
ci/gh-actions-rel5

Conversation

@nohwnd

@nohwnd nohwnd commented Aug 22, 2026

Copy link
Copy Markdown
Member

Same move as #2905, for the v5 maintenance branch. azure-pipelines.yml is removed and the workflow from main is ported over, so this branch has the same Build, test matrix, Done structure, and the same Done check name. That is what makes one branch policy work for main and the release branches.

Releasing stays on Azure DevOps (azure-pipelines-publish.yml), it needs the signing service connection and the publishing variable groups.

Differences from the file on main, both because of how v5 works:

  • No coverage steps. v5 keeps code coverage off in CI ("still very slow"), so there is nothing to summarize or upload. The old pipeline published a coverage.xml that was never produced.
  • Test results are written as NUnit3 (test.ps1), which is what dorny/test-reporter reads.

test-report.yml is not copied here on purpose. workflow_run workflows always run from the default branch, so the copy on main renders the reports for runs of this workflow too.

Code analysis on this branch still triggered on main only, so PSScriptAnalyzer never ran here. It triggers on rel/* now, which matters because branch protection requires it.

🤖

nohwnd added 2 commits August 22, 2026 10:06
Ports the workflow from main so this branch gets the same Build, test matrix,
Done structure, and the same "Done" check name, so one branch policy can cover
main and the release branches. Removes azure-pipelines.yml, releasing stays on
Azure DevOps in azure-pipelines-publish.yml.

No coverage steps here, v5 keeps code coverage off in CI, so there is nothing
to summarize or upload.

Test results are written as NUnit3 now, that is what dorny/test-reporter reads
in test-report.yml on main. workflow_run runs from the default branch, so runs
of this workflow get reports without a copy of that file here.

Code analysis triggers on rel/* on this branch, it was still set to main and
never ran here.

🤖
The run failed before it started, psmodulecache v6.2 pulls actions/cache
v4.0.1 which GitHub now rejects. Same versions as main: checkout v6,
psmodulecache v6.2.1, codeql-action v4.

🤖
@nohwnd
nohwnd merged commit ba8834f into rel/5.x.x Aug 22, 2026
20 checks passed
@nohwnd
nohwnd deleted the ci/gh-actions-rel5 branch August 22, 2026 10:54
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