-
Notifications
You must be signed in to change notification settings - Fork 8k
Make GitHub Workflows work in the internal mirror #25275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
TravisEz13
merged 25 commits into
PowerShell:master
from
TravisEz13:fix-azure-gh-actions
Apr 3, 2025
Merged
Make GitHub Workflows work in the internal mirror #25275
TravisEz13
merged 25 commits into
PowerShell:master
from
TravisEz13:fix-azure-gh-actions
Apr 3, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…itional checks for repository owner
…non-PowerShell repositories
… tools, props, tests, and main source
… owner dependency
…ling in CI workflows
…nce logging for locale settings
… environment capture, artifacts directory, bootstrap, and extracted build ZIP steps
|
/azp run PowerShell-CI-linux-packaging, PowerShell-Windows-Packaging-CI |
|
Azure Pipelines successfully started running 2 pipeline(s). |
adityapatwardhan
approved these changes
Apr 3, 2025
Contributor
|
📣 Hey @@TravisEz13, how did we do? We would love to hear your feedback with the link below! 🗣️ 🔗 https://aka.ms/PSRepoFeedback |
pwshBot
pushed a commit
to pwshBot/PowerShell
that referenced
this pull request
Apr 11, 2025
9 tasks
pwshBot
pushed a commit
to pwshBot/PowerShell
that referenced
this pull request
Apr 21, 2025
9 tasks
|
@PowerShell/powershell-maintainers triage decision - required infrastructure change |
Sysoiev-Yurii
pushed a commit
to Sysoiev-Yurii/PowerShell
that referenced
this pull request
May 12, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Backport-7.4.x-Migrated
Backport-7.5.x-Migrated
CL-BuildPackaging
Indicates that a PR should be marked as a build or packaging change in the Change Log
Compliance
Related to compliance requirements
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Summary
This pull request includes several changes to GitHub Actions workflows and the
build.psm1script to improve logging, environment detection, and path filtering. The most important changes are summarized below:GitHub Actions Workflows Improvements:
.github/actions/infrastructure/path-filters/action.yml: Added a new composite action to filter paths and capture various types of changes in the repository, such as source code, GitHub workflows, tools, props, tests, and build modules..github/actions/test/nix/action.yml: Enhanced logging by addingWrite-LogGroupStartandWrite-LogGroupEndaround several steps to improve readability and organization of logs. [1] [2] [3].github/actions/test/process-pester-results/action.yml: Replaced the JUnit to CTRF conversion step with a summary logging step that captures and logs the test results summary, including total tests, errors, failures, and disabled tests.Workflow Configuration Updates:
.github/workflows/linux-ci.yml,.github/workflows/macos-ci.yml,.github/workflows/windows-ci.yml: Addedgithub-mirrorbranch to the list of branches to trigger the workflows and updated permissions to includecontents: read. Also, replaced thedorny/paths-filteraction with the newpath-filterscomposite action. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]Build Script Enhancements:
build.psm1: Added support for Ubuntu 22.04 and 24.04 in the environment detection function and improved logging withWrite-LogGroupfunctions to group log messages and support GitHub Actions log grouping. [1] [2] [3] [4]PR Context
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.- [ ] Issue filed:
N/A or can only be tested interactively
OR
Make sure you've added a new test if existing tests do not effectively test the code changed