-
Notifications
You must be signed in to change notification settings - Fork 8k
Add back-port workflow using dotnet/arcade #25106
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
Conversation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…t.repo" This reverts commit dab8886.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Overview
This PR automates the backporting process by introducing a new GitHub Actions workflow and includes a minor update to the README.
- Adds a new workflow (.github/workflows/backport.yml) to automate labeling and backporting based on issue comments or scheduled runs.
- Updates the README.md with a placeholder text change.
Reviewed Changes
| File | Description |
|---|---|
| .github/workflows/backport.yml | Implements the backporting workflow using dotnet/arcade’s base workflow. |
| README.md | Applies a trivial placeholder update in the documentation. |
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (1)
.github/workflows/backport.yml:39
- Consider including the expected format (e.g., '/backport to release/vX') in the error message to guide users when the comment does not match the required pattern.
throw new Error("No version found in comment");
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Overview
This pull request introduces automation for backporting pull requests using a new GitHub Actions workflow and updates the documentation with a minor change to README.md.
- Added a new workflow in .github/workflows/backport.yml to automate backporting based on issue comments and scheduled runs.
- Updated README.md with a placeholder change.
Reviewed Changes
| File | Description |
|---|---|
| .github/workflows/backport.yml | New workflow to automatically label and trigger backporting. |
| README.md | Minor documentation update with placeholder text. |
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (1)
.github/workflows/backport.yml:29
- [nitpick] Consider using a consistent naming convention (such as all lowercase) for labels if required by your project standards.
const label = `Backport-${version}.x-Consider`;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Overview
This pull request introduces a new GitHub Actions workflow to automate the backporting process for pull requests and updates the README with a minor placeholder change.
- Adds a new workflow (.github/workflows/backport.yml) that listens for issue comments and scheduled events to automate backports.
- Updates the README.md with a placeholder text change.
Reviewed Changes
| File | Description |
|---|---|
| .github/workflows/backport.yml | Implements backport automation using GitHub Actions and a reusable arcade workflow. |
| README.md | Contains a trivial placeholder update ("Random change") that does not impact functionality. |
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
|
/azp run PowerShell-CI-linux-packaging, PowerShell-Windows-Packaging-CI |
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Overview
This PR introduces a new GitHub Actions workflow to automate the backporting process for pull requests while also updating the README file.
- Added a new workflow (.github/workflows/backport.yml) to add labels and trigger backport actions based on issue comments and scheduled runs.
- Automated the backport pull request description using a provided template.
Reviewed Changes
| File | Description |
|---|---|
| .github/workflows/backport.yml | New workflow to manage backporting via issue comments and scheduled triggers |
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (1)
.github/workflows/backport.yml:38
- The error message could be more informative by including an example of a correctly formatted comment to help users easily identify and remedy the issue. For instance, consider mentioning '/backport to release/v1.2' explicitly.
throw new Error("No version found in comment. Expected: /backport to release/vN.N");
|
/azp run PowerShell-CI-linux-packaging, PowerShell-Windows-Packaging-CI |
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
|
/azp run PowerShell-CI-linux-packaging, PowerShell-Windows-Packaging-CI |
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
|
📣 Hey @TravisEz13, how did we do? We would love to hear your feedback with the link below! 🗣️ 🔗 https://aka.ms/PSRepoFeedback |
PR Summary
This pull request includes significant changes to automate the backporting process and a minor update to the
README.mdfile. The most important changes are the addition of a new GitHub Actions workflow for backporting pull requests and a trivial modification to theREADME.md.Automation for backporting pull requests:
.github/workflows/backport.yml: Added a new workflow to automate the backporting process based on issue comments and scheduled runs. This includes setting permissions, adding labels, and using a template for the backport pull request description.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:
(which runs in a different PS Host).