KEMBAR78
Simplify PR Template by TravisEz13 · Pull Request #25268 · PowerShell/PowerShell · GitHub
Skip to content

Conversation

@TravisEz13
Copy link
Member

@TravisEz13 TravisEz13 commented Apr 1, 2025

PR Summary

This pull request includes updates to the pull request template, workflow configuration, and the addition of new configuration files for code formatting and linting. The most important changes are summarized below:

Pull Request Template Updates:

  • .github/PULL_REQUEST_TEMPLATE.md: Modified the instructions for marking a PR as ready to merge, replacing "work in progress" with "Draft Pull Request" and removing the tooling impact section. [1] [2]

Workflow Configuration:

Code Formatting and Linting:

PR Context

I don't believe people review this section.

Additionally, I added a script to run super-linter locally using docker, and made a common configuration for the GH Action and the local scenario.

PR Checklist

@TravisEz13 TravisEz13 added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Apr 1, 2025
@TravisEz13
Copy link
Member Author

/azp run PowerShell-CI-linux-packaging, PowerShell-Windows-Packaging-CI

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@kilasuit
Copy link
Collaborator

kilasuit commented Apr 2, 2025

Before this is merged we should have it properly discussed/documented in either an issue or discussion as to why we think it makes sense to remove it also by removing it we have less safe guards in place for downstrem dependencies

Personaly I feel this section should stay and we should be tighter about when there are downstream impacts as to allow those impacted to be able to make changes as quickly as they can.

Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
@TravisEz13
Copy link
Member Author

TravisEz13 commented Apr 2, 2025

I think the vast majority of people are not looking at this. This doesn't add any significant safeguards as most people don't know what interfaces these tools use. The tools would need to add tests as @iSazonov mentioned https://github.com/PowerShell/PowerShell/pull/25268/files#r2024016139.

We already have acceptance tests from modules. I don't see any reason we will not allow acceptance tests from tools owned by the PowerShell team if they conform to our test patterns.

GitHub
PR Summary This pull request includes a simplification of the pull request template by removing the tooling section. This change streamlines the template, making it easier for contributors to compl...

@TravisEz13
Copy link
Member Author

/azp run PowerShell-CI-linux-packaging, PowerShell-Windows-Packaging-CI

@TravisEz13 TravisEz13 enabled auto-merge (squash) April 3, 2025 16:51
@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@TravisEz13 TravisEz13 merged commit 9b0a593 into master Apr 3, 2025
43 checks passed
@microsoft-github-policy-service
Copy link
Contributor

microsoft-github-policy-service bot commented Apr 3, 2025

📣 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
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
pwshBot pushed a commit to pwshBot/PowerShell that referenced this pull request Apr 21, 2025
Sysoiev-Yurii pushed a commit to Sysoiev-Yurii/PowerShell that referenced this pull request May 12, 2025
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
@JustinGrote
Copy link
Contributor

JustinGrote commented May 16, 2025

@TravisEz13 Prettier should use .editorconfig by default, is there really a need for .prettierrc?

@andyleejordan and I recently dealt with this in PowerShell/vscode-powershell#5190

@JustinGrote
Copy link
Contributor

JustinGrote commented May 16, 2025

Also, in terms of code style and formatting, has the PowerShell repo defined which tools are to be the "source of truth"? Is prettier now intended to be the formatter for all formats except C# and PowerShell (including JSON)? This affects how I update the vscode tooling in #25274

@TravisEz13 TravisEz13 deleted the TravisEz13-patch-pr-template branch September 10, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BackPort-7.4.x-Done BackPort-7.5.x-Done CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants