-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1897 from dotnet/main
✅ Merge `main` into `live`
- Loading branch information
Showing
4 changed files
with
137 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
name: ".NET Aspire breaking change" | ||
description: Report a change in .NET Aspire that breaks something that worked in a previous version. Intended mostly for product-team use. | ||
title: "[Breaking change]: " | ||
labels: | ||
- "⛓️💥 breaking-change" | ||
- Pri1 | ||
- doc-idea | ||
assignees: | ||
- IEvangelist | ||
body: | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description | ||
description: Brief description of the breaking change. | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: version | ||
attributes: | ||
label: Version | ||
description: What version of .NET Aspire introduced the breaking change? | ||
options: | ||
- .NET Aspire 9.0 GA | ||
- .NET Aspire 9.0 RC1 | ||
- Other (please put exact version in description textbox) | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: old-behavior | ||
attributes: | ||
label: Previous behavior | ||
description: Describe the previous behavior. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: new-behavior | ||
attributes: | ||
label: New behavior | ||
description: Describe the new behavior. Include code snippets if applicable. | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
id: change-type | ||
attributes: | ||
label: Type of breaking change | ||
description: This information will be used to label the issue appropriately. [(How do I decide?)](https://learn.microsoft.com/dotnet/core/compatibility/categories) | ||
options: | ||
- label: "**Binary incompatible**: Existing binaries might encounter a breaking change in behavior, such as failure to load or execute, and if so, require recompilation." | ||
- label: "**Source incompatible**: When recompiled using the new SDK or component or to target the new runtime, existing source code might require source changes to compile successfully." | ||
- label: "**Behavioral change**: Existing binaries might behave differently at run time." | ||
- type: textarea | ||
id: reason | ||
attributes: | ||
label: Reason for change | ||
description: Describe why the breaking change was introduced. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: recommended-action | ||
attributes: | ||
label: Recommended action | ||
description: Describe the recommended action an affected user should take, such as workarounds or examples of code changes. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: affected-apis | ||
attributes: | ||
label: Affected APIs | ||
description: List all the APIs affected by this change. For methods, clarify if it's all overloads or specific overloads. | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Finally, please email a link to this breaking change issue to [.NET Breaking Change Notifications](mailto:[email protected]). |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Create monthly issues | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 24 * *' # Runs at midnight on the 24th of each month | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
create-issue: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
|
||
steps: | ||
- name: Harden Runner | ||
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | ||
with: | ||
egress-policy: audit | ||
|
||
- name: Create GitHub Issue | ||
uses: actions/github-script@660ec11d825b714d112a6bb9727086bc2cc500b2 #v7 | ||
with: | ||
script: | | ||
const nextMonth = new Date(); | ||
const currentMonth = nextMonth.getMonth(); | ||
if (currentMonth === 11) { // December | ||
nextMonth.setMonth(0); // January | ||
nextMonth.setFullYear(nextMonth.getFullYear() + 1); | ||
} else { | ||
nextMonth.setMonth(currentMonth + 1); | ||
} | ||
const monthName = nextMonth.toLocaleString('default', { month: 'short' }); | ||
const year = nextMonth.getFullYear(); | ||
const monthEmojis = ['❄️', '❤️', '🌸', '🌧️', '🌼', '☀️', '🎆', '🌞', '🍂', '🎃', '🍁', '🎄']; | ||
const month = nextMonth.getMonth(); | ||
const emoji = monthEmojis[month]; | ||
const issueTitle = `${emoji} Repo chores—${monthName} ${year}`; | ||
const issueBody = ` | ||
- [ ] Check *An external link was removed to protect your privacy.* for \`dotnet/docs-aspire\` | ||
- [ ] Fix build suggestions in \`dotnet/docs-aspire\` | ||
- [ ] Check *An external link was removed to protect your privacy.* for \`dotnet/docs-aspire\` | ||
- [ ] Approve/merge CleanRepo PR | ||
- [ ] Clean up hygiene items in *An external link was removed to protect your privacy.* | ||
> [!NOTE] | ||
> 🤖 This issue was created using [.github/workflows/create-monthly-issues.yml](https://github.com/dotnet/docs-aspire/blob/main/.github/workflows/create-monthly-issues.yml). | ||
`; | ||
github.issues.create({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
title: issueTitle, | ||
body: issueBody, | ||
labels: ['Pri1', '⚙️ repo-maintenance'], | ||
assignees: ['IEvangelist'] | ||
}); |
This file contains 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
This file contains 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